summaryrefslogtreecommitdiff
path: root/tests/bugs/ssa-loop.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/ssa-loop.slang')
-rw-r--r--tests/bugs/ssa-loop.slang4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bugs/ssa-loop.slang b/tests/bugs/ssa-loop.slang
index 4f15f8bed..21cf6e7f5 100644
--- a/tests/bugs/ssa-loop.slang
+++ b/tests/bugs/ssa-loop.slang
@@ -22,9 +22,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;