mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-12-26 01:31:06 +00:00
Support Dim InputTarget
This commit is contained in:
parent
9819adf4cb
commit
aa0c3a5c07
@ -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[] = {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user