mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2025-01-12 17:30:15 +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(
|
INSTANTIATE_TEST_SUITE_P(
|
||||||
SubgroupInvocationIdAndSizeNotU32, ValidateVulkanSubgroupBuiltIns,
|
SubgroupInvocationIdAndSizeNotU32, ValidateVulkanSubgroupBuiltIns,
|
||||||
Combine(Values("SubgroupLocalInvocationId", "SubgroupSize"),
|
Combine(
|
||||||
Values("GLCompute"), Values("Input"), Values("%f32"),
|
Values("SubgroupLocalInvocationId", "SubgroupSize"),
|
||||||
Values("VUID-SubgroupLocalInvocationId-SubgroupLocalInvocationId-"
|
Values("GLCompute"), Values("Input"), Values("%f32"),
|
||||||
"04381 VUID-SubgroupSize-SubgroupSize-04383"),
|
Values("VUID-SubgroupLocalInvocationId-SubgroupLocalInvocationId-04381 "
|
||||||
Values(TestResult(SPV_ERROR_INVALID_DATA,
|
"VUID-SubgroupSize-SubgroupSize-04383"),
|
||||||
"needs to be a 32-bit int"))));
|
Values(TestResult(SPV_ERROR_INVALID_DATA,
|
||||||
|
"needs to be a 32-bit int"))));
|
||||||
|
|
||||||
INSTANTIATE_TEST_SUITE_P(
|
INSTANTIATE_TEST_SUITE_P(
|
||||||
SubgroupInvocationIdAndSizeNotInput, ValidateVulkanSubgroupBuiltIns,
|
SubgroupInvocationIdAndSizeNotInput, ValidateVulkanSubgroupBuiltIns,
|
||||||
Combine(Values("SubgroupLocalInvocationId", "SubgroupSize"),
|
Combine(
|
||||||
Values("GLCompute"), Values("Output", "Workgroup", "Private"),
|
Values("SubgroupLocalInvocationId", "SubgroupSize"),
|
||||||
Values("%u32"),
|
Values("GLCompute"), Values("Output", "Workgroup", "Private"),
|
||||||
Values("VUID-SubgroupLocalInvocationId-SubgroupLocalInvocationId-"
|
Values("%u32"),
|
||||||
"04380 VUID-SubgroupSize-SubgroupSize-04382"),
|
Values("VUID-SubgroupLocalInvocationId-SubgroupLocalInvocationId-04380 "
|
||||||
Values(TestResult(
|
"VUID-SubgroupSize-SubgroupSize-04382"),
|
||||||
SPV_ERROR_INVALID_DATA,
|
Values(TestResult(
|
||||||
"to be only used for variables with Input storage class"))));
|
SPV_ERROR_INVALID_DATA,
|
||||||
|
"to be only used for variables with Input storage class"))));
|
||||||
|
|
||||||
INSTANTIATE_TEST_SUITE_P(
|
INSTANTIATE_TEST_SUITE_P(
|
||||||
SubgroupInvocationIdAndSizeOk, ValidateVulkanSubgroupBuiltIns,
|
SubgroupInvocationIdAndSizeOk, ValidateVulkanSubgroupBuiltIns,
|
||||||
|
Loading…
Reference in New Issue
Block a user