mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-22 19:50:05 +00:00
Provide friendly names for shader ballot BuiltIns
This commit is contained in:
parent
bf467da9c9
commit
12b5777912
@ -152,6 +152,11 @@ void FriendlyNameMapper::SaveBuiltInName(uint32_t target_id,
|
||||
CASE(SubgroupLocalInvocationId)
|
||||
GLCASE(VertexIndex)
|
||||
GLCASE(InstanceIndex)
|
||||
CASE(SubgroupEqMaskKHR)
|
||||
CASE(SubgroupGeMaskKHR)
|
||||
CASE(SubgroupGtMaskKHR)
|
||||
CASE(SubgroupLeMaskKHR)
|
||||
CASE(SubgroupLtMaskKHR)
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -269,6 +269,11 @@ INSTANTIATE_TEST_CASE_P(
|
||||
BuiltInCase("SubgroupLocalInvocationId"),
|
||||
BuiltInGLCase("VertexIndex"),
|
||||
BuiltInGLCase("InstanceIndex"),
|
||||
BuiltInCase("SubgroupEqMaskKHR"),
|
||||
BuiltInCase("SubgroupGeMaskKHR"),
|
||||
BuiltInCase("SubgroupGtMaskKHR"),
|
||||
BuiltInCase("SubgroupLeMaskKHR"),
|
||||
BuiltInCase("SubgroupLtMaskKHR"),
|
||||
}), );
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(DebugNameOverridesBuiltin, FriendlyNameTest,
|
||||
|
Loading…
Reference in New Issue
Block a user