mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-12-25 01:01:04 +00:00
spriv-val: Fix clang-format bug for VUID string (#4238)
This commit is contained in:
parent
a02a9205ff
commit
693d564db4
@ -3658,23 +3658,25 @@ OpFunctionEnd
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(
|
||||
SubgroupInvocationIdAndSizeNotU32, ValidateVulkanSubgroupBuiltIns,
|
||||
Combine(Values("SubgroupLocalInvocationId", "SubgroupSize"),
|
||||
Values("GLCompute"), Values("Input"), Values("%f32"),
|
||||
Values("VUID-SubgroupLocalInvocationId-SubgroupLocalInvocationId-"
|
||||
"04381 VUID-SubgroupSize-SubgroupSize-04383"),
|
||||
Values(TestResult(SPV_ERROR_INVALID_DATA,
|
||||
"needs to be a 32-bit int"))));
|
||||
Combine(
|
||||
Values("SubgroupLocalInvocationId", "SubgroupSize"),
|
||||
Values("GLCompute"), Values("Input"), Values("%f32"),
|
||||
Values("VUID-SubgroupLocalInvocationId-SubgroupLocalInvocationId-04381 "
|
||||
"VUID-SubgroupSize-SubgroupSize-04383"),
|
||||
Values(TestResult(SPV_ERROR_INVALID_DATA,
|
||||
"needs to be a 32-bit int"))));
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(
|
||||
SubgroupInvocationIdAndSizeNotInput, ValidateVulkanSubgroupBuiltIns,
|
||||
Combine(Values("SubgroupLocalInvocationId", "SubgroupSize"),
|
||||
Values("GLCompute"), Values("Output", "Workgroup", "Private"),
|
||||
Values("%u32"),
|
||||
Values("VUID-SubgroupLocalInvocationId-SubgroupLocalInvocationId-"
|
||||
"04380 VUID-SubgroupSize-SubgroupSize-04382"),
|
||||
Values(TestResult(
|
||||
SPV_ERROR_INVALID_DATA,
|
||||
"to be only used for variables with Input storage class"))));
|
||||
Combine(
|
||||
Values("SubgroupLocalInvocationId", "SubgroupSize"),
|
||||
Values("GLCompute"), Values("Output", "Workgroup", "Private"),
|
||||
Values("%u32"),
|
||||
Values("VUID-SubgroupLocalInvocationId-SubgroupLocalInvocationId-04380 "
|
||||
"VUID-SubgroupSize-SubgroupSize-04382"),
|
||||
Values(TestResult(
|
||||
SPV_ERROR_INVALID_DATA,
|
||||
"to be only used for variables with Input storage class"))));
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(
|
||||
SubgroupInvocationIdAndSizeOk, ValidateVulkanSubgroupBuiltIns,
|
||||
|
Loading…
Reference in New Issue
Block a user