mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-12-27 02:10:15 +00:00
Test asm,dis support for SPV_KHR_variable_pointers
This commit is contained in:
parent
11a867f412
commit
4087e89bc6
@ -243,6 +243,7 @@ INSTANTIATE_TEST_CASE_P(
|
||||
SpvBuiltInViewIndex})},
|
||||
})), );
|
||||
|
||||
|
||||
// SPV_AMD_gcn_shader
|
||||
|
||||
#define PREAMBLE "%1 = OpExtInstImport \"SPV_AMD_gcn_shader\"\n"
|
||||
@ -268,4 +269,23 @@ INSTANTIATE_TEST_CASE_P(
|
||||
})), );
|
||||
#undef PREAMBLE
|
||||
|
||||
|
||||
// SPV_KHR_variable_pointers
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(
|
||||
SPV_KHR_variable_pointers, ExtensionRoundTripTest,
|
||||
// We'll get coverage over operand tables by trying the universal
|
||||
// environments, and at least one specific environment.
|
||||
Combine(Values(SPV_ENV_UNIVERSAL_1_0, SPV_ENV_UNIVERSAL_1_1,
|
||||
SPV_ENV_VULKAN_1_0),
|
||||
ValuesIn(std::vector<AssemblyCase>{
|
||||
{"OpCapability VariablePointers\n",
|
||||
MakeInstruction(SpvOpCapability,
|
||||
{SpvCapabilityVariablePointers})},
|
||||
{"OpCapability VariablePointersUniformBufferBlock\n",
|
||||
MakeInstruction(
|
||||
SpvOpCapability,
|
||||
{SpvCapabilityVariablePointersUniformBufferBlock})},
|
||||
})), );
|
||||
|
||||
} // anonymous namespace
|
||||
|
Loading…
Reference in New Issue
Block a user