summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/hlsl-intrinsic/wave-get-lane-index.slang4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hlsl-intrinsic/wave-get-lane-index.slang b/tests/hlsl-intrinsic/wave-get-lane-index.slang
index e1a9262a9..b059ff42d 100644
--- a/tests/hlsl-intrinsic/wave-get-lane-index.slang
+++ b/tests/hlsl-intrinsic/wave-get-lane-index.slang
@@ -11,9 +11,9 @@
RWStructuredBuffer<int> outputBuffer;
[numthreads(4, 1, 1)]
-void computeMain(int3 dispatchThreadID : SV_DispatchThreadID)
+void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID)
{
- int idx = dispatchThreadID.x;
+ uint idx = dispatchThreadID.x;
uint laneId = WaveGetLaneIndex();
// The laneCount will be dependent on target hardware. It seems a count of 1 is valid in spec.
// For now we'll just check it's not 0.