summaryrefslogtreecommitdiff
path: root/tests/compute/cast-zero-to-struct.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compute/cast-zero-to-struct.slang')
-rw-r--r--tests/compute/cast-zero-to-struct.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/compute/cast-zero-to-struct.slang b/tests/compute/cast-zero-to-struct.slang
index 383662420..13bd4bf68 100644
--- a/tests/compute/cast-zero-to-struct.slang
+++ b/tests/compute/cast-zero-to-struct.slang
@@ -29,7 +29,7 @@ int test(int val)
RWStructuredBuffer<int> gOutputBuffer;
[numthreads(4, 1, 1)]
-void computeMain(uint3 tid : SV_DispatchThreadID)
+void computeMain(int3 tid : SV_DispatchThreadID)
{
int inVal = tid.x;
int outVal = test(inVal);