diff options
Diffstat (limited to 'tests/compute/assoctype-nested.slang')
| -rw-r--r-- | tests/compute/assoctype-nested.slang | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/compute/assoctype-nested.slang b/tests/compute/assoctype-nested.slang index 7bb251a26..a4a994e10 100644 --- a/tests/compute/assoctype-nested.slang +++ b/tests/compute/assoctype-nested.slang @@ -53,9 +53,9 @@ int test(int val) RWStructuredBuffer<int> gOutputBuffer; [numthreads(4, 1, 1)] -void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID) +void computeMain(int3 dispatchThreadID : SV_DispatchThreadID) { - uint tid = dispatchThreadID.x; + int tid = dispatchThreadID.x; int inputVal = tid; int outputVal = test(inputVal); gOutputBuffer[tid] = outputVal; |
