mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-10-18 11:10:05 +00:00
Fix operand class test coverage table.
* Fix a missing column. * Convert line endings. This will make the table beautiful and searchable on Github.
This commit is contained in:
parent
dc6e4834d6
commit
069b0a7339
@ -1,45 +1,43 @@
|
|||||||
Operand class,Example instruction,Notes,example unit test,negative-enum coverage location
|
Operand class,Example instruction,Notes,example unit test,negative-enum coverage location
|
||||||
,,,,
|
" OperandNone,",UNUSED,not in grammar,,not enum
|
||||||
,,,,
|
" OperandId,",many,ID,too many to count,not enum
|
||||||
" OperandNone,",UNUSED,not in grammar,,not enum
|
" OperandOptionalId,","Source, Variable",OPTIONAL_ID,OpSourceAcceptsOptionalFileId,not enum
|
||||||
" OperandId,",many,ID,too many to count,not enum
|
" OperandOptionalImage,",ImageFetch,,ImageOperandsTest,"TEST_F(ImageOperandsTest, WrongOperand)"
|
||||||
" OperandOptionalId,","Source, Variable",OPTIONAL_ID,OpSourceAcceptsOptionalFileId,not enum
|
" OperandVariableIds,",ExtInst,,,not enum
|
||||||
" OperandOptionalImage,",ImageFetch,,ImageOperandsTest,"TEST_F(ImageOperandsTest, WrongOperand)"
|
" OperandOptionalLiteral,",ExecutionMode,,AnyExecutionMode,not enum
|
||||||
" OperandVariableIds,",ExtInst,,,not enum
|
" OperandOptionalLiteralString,",Source,,OpSourceAcceptsOptionalSourceText,not enum
|
||||||
" OperandOptionalLiteral,",ExecutionMode,,AnyExecutionMode,not enum
|
" OperandVariableLiterals,",Decorate,,OpDecorateSimpleTest,not enum
|
||||||
" OperandOptionalLiteralString,",Source,,OpSourceAcceptsOptionalSourceText,not enum
|
" OperandVariableIdLiteral,",GroupMemberDecorate,,GroupMemberDecorate*,not enum
|
||||||
" OperandVariableLiterals,",Decorate,,OpDecorateSimpleTest,not enum
|
" OperandVariableLiteralId,",Switch,,Switch*,not enum
|
||||||
" OperandVariableIdLiteral,",GroupMemberDecorate,,GroupMemberDecorate*,not enum
|
" OperandLiteralNumber,","Source, Switch, ...",,Switch*,not enum
|
||||||
" OperandVariableLiteralId, // zero or more pairs of (Literal, Id)",Switch,,Switch*,not enum
|
" OperandLiteralString,",SourceContinued,,OpSourceContinued,not enum
|
||||||
" OperandLiteralNumber,","Source, Switch, ...",,Switch*,not enum
|
" OperandSource,",Source,,OpSource,not enum
|
||||||
" OperandLiteralString,",SourceContinued,,OpSourceContinued,not enum
|
" OperandExecutionModel,",EntryPoint,,OpEntryPointTest,"TEST_F(OpEntryPointTest, WrongModel)"
|
||||||
" OperandSource,",Source,,OpSource,not enum
|
" OperandAddressing,",OpMemoryModel,,OpMemoryModelTest,"TEST_F(OpMemoryModelTest, WrongModel)"
|
||||||
" OperandExecutionModel,",EntryPoint,,OpEntryPointTest,"TEST_F(OpEntryPointTest, WrongModel)"
|
" OperandMemory,",OpMemoryModel,,OpMemoryModelTest,"TEST_F(OpMemoryModelTest, WrongModel)"
|
||||||
" OperandAddressing,",OpMemoryModel,,OpMemoryModelTest,"TEST_F(OpMemoryModelTest, WrongModel)"
|
" OperandExecutionMode,",OpExecutionMode,,OpExecutionModeTest,"TEST_F(OpExecutionModeTest, WrongMode)"
|
||||||
" OperandMemory,",OpMemoryModel,,OpMemoryModelTest,"TEST_F(OpMemoryModelTest, WrongModel)"
|
" OperandStorage,","TypePointer, TypeForwardPointer, Variable",,StorageClassTest,"TEST_F(OpTypeForwardPointerTest, WrongClass)"
|
||||||
" OperandExecutionMode,",OpExecutionMode,,OpExecutionModeTest,"TEST_F(OpExecutionModeTest, WrongMode)"
|
" OperandDimensionality,",TypeImage,,DimTest/AnyDim,"TEST_F(DimTest, WrongDim)"
|
||||||
" OperandStorage,","TypePointer, TypeForwardPointer, Variable",,StorageClassTest,"TEST_F(OpTypeForwardPointerTest, WrongClass)"
|
" OperandSamplerAddressingMode,",ConstantSampler,,SamplerAddressingModeTest,"TEST_F(SamplerAddressingModeTest, WrongMode)"
|
||||||
" OperandDimensionality,",TypeImage,,DimTest/AnyDim,"TEST_F(DimTest, WrongDim)"
|
" OperandSamplerFilterMode,",ConstantSampler,,AnySamplerFilterMode,"TEST_F(SamplerFilterModeTest, WrongMode)"
|
||||||
" OperandSamplerAddressingMode,",ConstantSampler,,SamplerAddressingModeTest,"TEST_F(SamplerAddressingModeTest, WrongMode)"
|
" OperandSamplerImageFormat,",TypeImage,SAMPLER_IMAGE_FORMAT,ImageFormatTest,"TEST_F(ImageFormatTest, WrongFormat)"
|
||||||
" OperandSamplerFilterMode,",ConstantSampler,,AnySamplerFilterMode,"TEST_F(SamplerFilterModeTest, WrongMode)"
|
" OperandImageChannelOrder,",UNUSED,returned as result value only,,
|
||||||
" OperandSamplerImageFormat,",TypeImage,SAMPLER_IMAGE_FORMAT,ImageFormatTest,"TEST_F(ImageFormatTest, WrongFormat)"
|
" OperandImageChannelDataType,",UNUSED,returned as result value only,,
|
||||||
" OperandImageChannelOrder,",UNUSED,returned as result value only,,
|
" OperandImageOperands,",UNUSED,used to make a spec section,,see OperandOptionalImage
|
||||||
" OperandImageChannelDataType,",UNUSED,returned as result value only,,
|
" OperandFPFastMath,",OpDecorate,,CombinedFPFastMathMask,"TEST_F(OpDecorateEnumTest, WrongFPFastMathMode)"
|
||||||
" OperandImageOperands,",UNUSED,used to make a spec section,,see OperandOptionalImage
|
" OperandFPRoundingMode,",OpDecorate,,,"TEST_F(OpDecorateEnumTest, WrongFPRoundingMode)"
|
||||||
" OperandFPFastMath,",OpDecorate,,CombinedFPFastMathMask,"TEST_F(OpDecorateEnumTest, WrongFPFastMathMode)"
|
" OperandLinkageType,",OpDecorate,,OpDecorateLinkageTest,"TEST_F(OpDecorateLinkageTest, WrongType)"
|
||||||
" OperandFPRoundingMode,",OpDecorate,,"TEST_F(OpDecorateEnumTest, WrongFPRoundingMode)"
|
" OperandAccessQualifier,",OpTypePipe,,AnyAccessQualifier,"TEST_F(OpTypePipeTest, WrongAccessQualifier)"
|
||||||
" OperandLinkageType,",OpDecorate,,OpDecorateLinkageTest,"TEST_F(OpDecorateLinkageTest, WrongType)"
|
" OperandFuncParamAttr,",OpDecorate,,TextToBinaryDecorateFuncParamAttr,"TEST_F(OpDecorateEnumTest, WrongFuncParamAttr)"
|
||||||
" OperandAccessQualifier,",OpTypePipe,,AnyAccessQualifier,"TEST_F(OpTypePipeTest, WrongAccessQualifier)"
|
" OperandDecoration,",OpDecorate,,AnyAccessQualifier,"TEST_F(OpTypePipeTest, WrongAccessQualifier)"
|
||||||
" OperandFuncParamAttr,",OpDecorate,,TextToBinaryDecorateFuncParamAttr,"TEST_F(OpDecorateEnumTest, WrongFuncParamAttr)"
|
" OperandBuiltIn,",OpDecorate,,TextToBinaryDecorateBultIn,"TEST_F(OpDecorateEnumTest, WrongBuiltIn)"
|
||||||
" OperandDecoration,",OpDecorate,,AnyAccessQualifier,"TEST_F(OpTypePipeTest, WrongAccessQualifier)"
|
" OperandSelect,",SelectionMerge,,TextToBinarySelectionMerge,"TEST_F(OpSelectionMergeTest, WrongSelectionControl)"
|
||||||
" OperandBuiltIn,",OpDecorate,,TextToBinaryDecorateBultIn,"TEST_F(OpDecorateEnumTest, WrongBuiltIn)"
|
" OperandLoop,",LoopMerge,,CombinedLoopControlMask,"TEST_F(OpLoopMergeTest, WrongLoopControl)"
|
||||||
" OperandSelect,",SelectionMerge,,TextToBinarySelectionMerge,"TEST_F(OpSelectionMergeTest, WrongSelectionControl)"
|
" OperandFunction,",Function,,AnySingleFunctionControlMask,"TEST_F(OpFunctionControlTest, WrongFunctionControl)"
|
||||||
" OperandLoop,",LoopMerge,,CombinedLoopControlMask,"TEST_F(OpLoopMergeTest, WrongLoopControl)"
|
" OperandMemorySemantics,",OpMemoryBarrier,"it's an ID, not in grammar",OpMemoryBarrier*,not enum
|
||||||
" OperandFunction,",Function,,AnySingleFunctionControlMask,"TEST_F(OpFunctionControlTest, WrongFunctionControl)"
|
" OperandMemoryAccess,",UNUSED,"should be on opstore, but hacked in opcode.cpp",,not enum
|
||||||
" OperandMemorySemantics,",OpMemoryBarrier,"it's an ID, not in grammar",OpMemoryBarrier*,not enum
|
" OperandScope,",MemoryBarrier,"it's an ID, not in grammar",OpMemoryBarrier*,not enum
|
||||||
" OperandMemoryAccess,",UNUSED,"should be on opstore, but hacked in opcode.cpp",,not enum
|
" OperandGroupOperation,",GroupIAdd,,GroupOperationTest,"TEST_F(GroupOperationTest, WrongGroupOperation)"
|
||||||
" OperandScope,",MemoryBarrier,"it's an ID, not in grammar",OpMemoryBarrier*,not enum
|
" OperandKernelEnqueueFlags,",OpEnqueueKernel,"it's an ID, not in grammar",should not have one,not enum
|
||||||
" OperandGroupOperation,",GroupIAdd,,GroupOperationTest,"TEST_F(GroupOperationTest, WrongGroupOperation)"
|
" OperandKernelProfilingInfo,",OpCaptureEventProfilingInfo,"it's an ID, not in grammar",should not have one,not enum
|
||||||
" OperandKernelEnqueueFlags,",OpEnqueueKernel,"it's an ID, not in grammar",should not have one,not enum
|
" OperandCapability,",Capability,,OpCapabilityTest,"TEST_F(TextToBinaryCapability, BadInvalidCapability)"
|
||||||
" OperandKernelProfilingInfo,",OpCaptureEventProfilingInfo,"it's an ID, not in grammar",should not have one,not enum
|
|
||||||
" OperandCapability,",Capability,,OpCapabilityTest,"TEST_F(TextToBinaryCapability, BadInvalidCapability)"
|
|
||||||
|
Can't render this file because it has a wrong number of fields in line 30.
|
Loading…
Reference in New Issue
Block a user