summaryrefslogtreecommitdiffstats
path: root/tests/metal/atomic-texture-buffer.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/metal/atomic-texture-buffer.slang')
-rw-r--r--tests/metal/atomic-texture-buffer.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/metal/atomic-texture-buffer.slang b/tests/metal/atomic-texture-buffer.slang
index 1db156364..9f24018c7 100644
--- a/tests/metal/atomic-texture-buffer.slang
+++ b/tests/metal/atomic-texture-buffer.slang
@@ -75,7 +75,7 @@ void test()
InterlockedXor(intBuffer[0], valInt, originalValueInt);
InterlockedExchange(intBuffer[0], valInt, originalValueInt);
InterlockedCompareExchange(intBuffer[0], valInt, compareValueInt, originalValueInt);
- InterlockedCompareStore(intBuffer[0], valUInt, compareValueUInt);
+ InterlockedCompareStore(intBuffer[0], valInt, compareValueUInt);
InterlockedAdd(uintBuffer[0], valUInt);
InterlockedAnd(uintBuffer[0], valUInt);