SPV_OPCODE_FLAGS_CAPABILITIES,
CapabilityKernel,
{SPV_OPERAND_TYPE_NONE}},
+ {"PushConstant",
+ StorageClassPushConstant,
+ SPV_OPCODE_FLAGS_CAPABILITIES,
+ CapabilityShader,
+ {SPV_OPERAND_TYPE_NONE}},
{"AtomicCounter",
StorageClassAtomicCounter,
SPV_OPCODE_FLAGS_CAPABILITIES,
INSTANTIATE_TEST_CASE_P(
TextToBinaryStorageClassTest, StorageClassTest,
::testing::ValuesIn(std::vector<EnumCase<spv::StorageClass>>{
- // TODO(dneto): There are more storage classes in Rev32 and later.
CASE(UniformConstant),
CASE(Input),
CASE(Uniform),
CASE(PrivateGlobal),
CASE(Function),
CASE(Generic),
+ CASE(PushConstant),
CASE(AtomicCounter),
CASE(Image),
}));