diff options
Diffstat (limited to 'tests/type')
| -rw-r--r-- | tests/type/texture-sampler/texture-sampler-2d.slang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/type/texture-sampler/texture-sampler-2d.slang b/tests/type/texture-sampler/texture-sampler-2d.slang index 146fd0fd8..db4e82c23 100644 --- a/tests/type/texture-sampler/texture-sampler-2d.slang +++ b/tests/type/texture-sampler/texture-sampler-2d.slang @@ -7,7 +7,7 @@ Sampler2D<float> t2D; 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); |
