From 693d564db4e93fb249e938d84528cfc711d8d22b Mon Sep 17 00:00:00 2001 From: sfricke-samsung <46493288+sfricke-samsung@users.noreply.github.com> Date: Fri, 16 Apr 2021 05:52:48 -0700 Subject: [PATCH] spriv-val: Fix clang-format bug for VUID string (#4238) --- test/val/val_builtins_test.cpp | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/test/val/val_builtins_test.cpp b/test/val/val_builtins_test.cpp index bbcdbb114..2116fff26 100644 --- a/test/val/val_builtins_test.cpp +++ b/test/val/val_builtins_test.cpp @@ -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,