SPIRV-Tools/test/operand-class-test-coverage.csv
Lei Zhang 069b0a7339 Fix operand class test coverage table.
* Fix a missing column.
* Convert line endings.

This will make the table beautiful and searchable on Github.
2016-09-23 11:58:25 -04:00

3.9 KiB

1Operand classExample instructionNotesexample unit testnegative-enum coverage location
2 OperandNone,UNUSEDnot in grammarnot enum
3 OperandId,manyIDtoo many to countnot enum
4 OperandOptionalId,Source, VariableOPTIONAL_IDOpSourceAcceptsOptionalFileIdnot enum
5 OperandOptionalImage,ImageFetchImageOperandsTestTEST_F(ImageOperandsTest, WrongOperand)
6 OperandVariableIds,ExtInstnot enum
7 OperandOptionalLiteral,ExecutionModeAnyExecutionModenot enum
8 OperandOptionalLiteralString,SourceOpSourceAcceptsOptionalSourceTextnot enum
9 OperandVariableLiterals,DecorateOpDecorateSimpleTestnot enum
10 OperandVariableIdLiteral,GroupMemberDecorateGroupMemberDecorate*not enum
11 OperandVariableLiteralId,SwitchSwitch*not enum
12 OperandLiteralNumber,Source, Switch, ...Switch*not enum
13 OperandLiteralString,SourceContinuedOpSourceContinuednot enum
14 OperandSource,SourceOpSourcenot enum
15 OperandExecutionModel,EntryPointOpEntryPointTestTEST_F(OpEntryPointTest, WrongModel)
16 OperandAddressing,OpMemoryModelOpMemoryModelTestTEST_F(OpMemoryModelTest, WrongModel)
17 OperandMemory,OpMemoryModelOpMemoryModelTestTEST_F(OpMemoryModelTest, WrongModel)
18 OperandExecutionMode,OpExecutionModeOpExecutionModeTestTEST_F(OpExecutionModeTest, WrongMode)
19 OperandStorage,TypePointer, TypeForwardPointer, VariableStorageClassTestTEST_F(OpTypeForwardPointerTest, WrongClass)
20 OperandDimensionality,TypeImageDimTest/AnyDimTEST_F(DimTest, WrongDim)
21 OperandSamplerAddressingMode,ConstantSamplerSamplerAddressingModeTestTEST_F(SamplerAddressingModeTest, WrongMode)
22 OperandSamplerFilterMode,ConstantSamplerAnySamplerFilterModeTEST_F(SamplerFilterModeTest, WrongMode)
23 OperandSamplerImageFormat,TypeImageSAMPLER_IMAGE_FORMATImageFormatTestTEST_F(ImageFormatTest, WrongFormat)
24 OperandImageChannelOrder,UNUSEDreturned as result value only
25 OperandImageChannelDataType,UNUSEDreturned as result value only
26 OperandImageOperands,UNUSEDused to make a spec sectionsee OperandOptionalImage
27 OperandFPFastMath,OpDecorateCombinedFPFastMathMaskTEST_F(OpDecorateEnumTest, WrongFPFastMathMode)
28 OperandFPRoundingMode,OpDecorateTEST_F(OpDecorateEnumTest, WrongFPRoundingMode)
29 OperandLinkageType,OpDecorateOpDecorateLinkageTestTEST_F(OpDecorateLinkageTest, WrongType)
30 OperandAccessQualifier,OpTypePipeAnyAccessQualifierTEST_F(OpTypePipeTest, WrongAccessQualifier)
31 OperandFuncParamAttr,OpDecorateTextToBinaryDecorateFuncParamAttrTEST_F(OpDecorateEnumTest, WrongFuncParamAttr)
32 OperandDecoration,OpDecorateAnyAccessQualifierTEST_F(OpTypePipeTest, WrongAccessQualifier)
33 OperandBuiltIn,OpDecorateTextToBinaryDecorateBultInTEST_F(OpDecorateEnumTest, WrongBuiltIn)
34 OperandSelect,SelectionMergeTextToBinarySelectionMergeTEST_F(OpSelectionMergeTest, WrongSelectionControl)
35 OperandLoop,LoopMergeCombinedLoopControlMaskTEST_F(OpLoopMergeTest, WrongLoopControl)
36 OperandFunction,FunctionAnySingleFunctionControlMaskTEST_F(OpFunctionControlTest, WrongFunctionControl)
37 OperandMemorySemantics,OpMemoryBarrierit's an ID, not in grammarOpMemoryBarrier*not enum
38 OperandMemoryAccess,UNUSEDshould be on opstore, but hacked in opcode.cppnot enum
39 OperandScope,MemoryBarrierit's an ID, not in grammarOpMemoryBarrier*not enum
40 OperandGroupOperation,GroupIAddGroupOperationTestTEST_F(GroupOperationTest, WrongGroupOperation)
41 OperandKernelEnqueueFlags,OpEnqueueKernelit's an ID, not in grammarshould not have onenot enum
42 OperandKernelProfilingInfo,OpCaptureEventProfilingInfoit's an ID, not in grammarshould not have onenot enum
43 OperandCapability,CapabilityOpCapabilityTestTEST_F(TextToBinaryCapability, BadInvalidCapability)