summaryrefslogtreecommitdiff
path: root/tests/compute/texture-simple.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compute/texture-simple.slang')
-rw-r--r--tests/compute/texture-simple.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/compute/texture-simple.slang b/tests/compute/texture-simple.slang
index f9acfe3f0..efa83edfb 100644
--- a/tests/compute/texture-simple.slang
+++ b/tests/compute/texture-simple.slang
@@ -32,7 +32,7 @@ SamplerState samplerState;
RWStructuredBuffer<float> outputBuffer;
[numthreads(4, 1, 1)]
-void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID)
+void computeMain(int3 dispatchThreadID : SV_DispatchThreadID)
{
int idx = dispatchThreadID.x;
float u = idx * (1.0f / 4);