mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-12-27 02:10:15 +00:00
Test SPV_KHR_device_group in assembler, disassembler
This commit is contained in:
parent
83b334e549
commit
7327f63c34
@ -211,4 +211,20 @@ INSTANTIATE_TEST_CASE_P(
|
||||
{SpvCapabilityStorageInputOutput16})},
|
||||
})), );
|
||||
|
||||
// SPV_KHR_device_group
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(
|
||||
SPV_KHR_device_group, 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 DeviceGroup\n",
|
||||
MakeInstruction(SpvOpCapability, {SpvCapabilityDeviceGroup})},
|
||||
{"OpDecorate %1 BuiltIn DeviceIndex\n",
|
||||
MakeInstruction(SpvOpDecorate, {1, SpvDecorationBuiltIn,
|
||||
SpvBuiltInDeviceIndex})},
|
||||
})), );
|
||||
|
||||
} // anonymous namespace
|
||||
|
Loading…
Reference in New Issue
Block a user