From d6efdeea61ac06dbbe24634884c99c04c7ced52e Mon Sep 17 00:00:00 2001 From: Giovanni Mascellani Date: Mon, 21 Oct 2024 12:42:46 +0200 Subject: [PATCH] tests: Dispatch just four invocations when testing for wave reconvergence. I don't know why I put a 4 both in the numthreads() attribute and as a dispatch parameter, but only care about only one thread group. --- tests/hlsl/wave-reconvergence.shader_test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/hlsl/wave-reconvergence.shader_test b/tests/hlsl/wave-reconvergence.shader_test index 727c7cde..8d31f333 100644 --- a/tests/hlsl/wave-reconvergence.shader_test +++ b/tests/hlsl/wave-reconvergence.shader_test @@ -57,7 +57,7 @@ void main(uint id : SV_GroupIndex) } [test] -dispatch 4 1 1 +dispatch 1 1 1 probe uav 2 (0) rui (0xf01) probe uav 2 (1) rui (0x503) probe uav 2 (2) rui (0x511) @@ -125,7 +125,7 @@ void main(uint id : SV_GroupIndex) } [test] -dispatch 4 1 1 +dispatch 1 1 1 probe uav 2 (0) rui (0x701) probe uav 2 (1) rui (0x503) probe uav 2 (2) rui (0x511)