diff options
Diffstat (limited to 'tests/compute/buffer-layout.slang')
| -rw-r--r-- | tests/compute/buffer-layout.slang | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/compute/buffer-layout.slang b/tests/compute/buffer-layout.slang index 5caacff31..8c71904c6 100644 --- a/tests/compute/buffer-layout.slang +++ b/tests/compute/buffer-layout.slang @@ -121,9 +121,9 @@ int test(int val) [numthreads(4, 1, 1)] void computeMain( - uint3 dispatchThreadID : SV_DispatchThreadID) + int3 dispatchThreadID : SV_DispatchThreadID) { - uint tid = dispatchThreadID.x; + int tid = dispatchThreadID.x; int inVal = tid; int outVal = test(inVal); |
