SpvBuiltInViewIndex})},
})), );
+
// SPV_AMD_gcn_shader
#define PREAMBLE "%1 = OpExtInstImport \"SPV_AMD_gcn_shader\"\n"
})), );
#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