diff --git a/source/operand.cpp b/source/operand.cpp index 962f396f2..7c0e7adff 100644 --- a/source/operand.cpp +++ b/source/operand.cpp @@ -363,6 +363,7 @@ static const spv_operand_desc_t storageClassEntries[] = { }; static const spv_operand_desc_t dimensionalityEntries[] = { + // TODO(dneto): Update capability dependencies for Rev32 {"1D", Dim1D, SPV_OPCODE_FLAGS_NONE, 0, {SPV_OPERAND_TYPE_NONE}}, {"2D", Dim2D, SPV_OPCODE_FLAGS_NONE, 0, {SPV_OPERAND_TYPE_NONE}}, {"3D", Dim3D, SPV_OPCODE_FLAGS_NONE, 0, {SPV_OPERAND_TYPE_NONE}}, @@ -377,6 +378,11 @@ static const spv_operand_desc_t dimensionalityEntries[] = { CapabilityShader, {SPV_OPERAND_TYPE_NONE}}, {"Buffer", DimBuffer, SPV_OPCODE_FLAGS_NONE, 0, {SPV_OPERAND_TYPE_NONE}}, + {"InputTarget", + DimInputTarget, + SPV_OPCODE_FLAGS_CAPABILITIES, + CapabilityInputTarget, + {SPV_OPERAND_TYPE_NONE}}, }; static const spv_operand_desc_t samplerAddressingModeEntries[] = { diff --git a/test/TextToBinary.TypeDeclaration.cpp b/test/TextToBinary.TypeDeclaration.cpp index 23f6084cf..0807bafde 100644 --- a/test/TextToBinary.TypeDeclaration.cpp +++ b/test/TextToBinary.TypeDeclaration.cpp @@ -62,7 +62,7 @@ INSTANTIATE_TEST_CASE_P( CASE(Cube), CASE(Rect), CASE(Buffer), - // TODO(dneto): Rev32 adds InputTarget. + CASE(InputTarget), })); #undef CASE // clang-format on @@ -125,7 +125,6 @@ INSTANTIATE_TEST_CASE_P( CASE(Rg8ui), CASE(R16ui), CASE(R8ui), - // TODO(dneto): Rev32 adds InputTarget. })); #undef CASE // clang-format on