summaryrefslogtreecommitdiff
path: root/tests/compute/matrix-layout.hlsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compute/matrix-layout.hlsl')
-rw-r--r--tests/compute/matrix-layout.hlsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/compute/matrix-layout.hlsl b/tests/compute/matrix-layout.hlsl
index c655d06c7..571003a10 100644
--- a/tests/compute/matrix-layout.hlsl
+++ b/tests/compute/matrix-layout.hlsl
@@ -64,9 +64,9 @@ int test(int val)
RWStructuredBuffer<int> buffer;
[numthreads(12, 1, 1)]
-void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID)
+void computeMain(int3 dispatchThreadID : SV_DispatchThreadID)
{
- uint tid = dispatchThreadID.x;
+ int tid = dispatchThreadID.x;
int val = tid;
val = test(val);