diff options
Diffstat (limited to 'tests/compute/matrix-layout-structured-buffer.slang')
| -rw-r--r-- | tests/compute/matrix-layout-structured-buffer.slang | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/compute/matrix-layout-structured-buffer.slang b/tests/compute/matrix-layout-structured-buffer.slang index bdc2e1ced..6893a5df9 100644 --- a/tests/compute/matrix-layout-structured-buffer.slang +++ b/tests/compute/matrix-layout-structured-buffer.slang @@ -30,9 +30,9 @@ int test(int val) RWStructuredBuffer<int> buffer; [numthreads(12, 1, 1)] -void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID) +void computeMain(int3 dispatchThreadID : SV_DispatchThreadID) { - uint tid = dispatchThreadID.x; + int tid = dispatchThreadID.x; int val = tid; val = test(val); |
