summaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authorArielG-NV <159081215+ArielG-NV@users.noreply.github.com>2024-07-16 18:21:51 -0400
committerGitHub <noreply@github.com>2024-07-16 15:21:51 -0700
commitf545ef30052de7b4cab389cb58ffb0ea67ffb32c (patch)
treec35233712fff502466cab0ecbee33ef81f400cd2 /tests/bugs
parent05547e25353dd797791c2937679468d529d832d5 (diff)
Fix minimal-optimization flag with texture atomics (#4660)
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/interlocked-add-uint-int.slang2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/bugs/interlocked-add-uint-int.slang b/tests/bugs/interlocked-add-uint-int.slang
index 4396a3dc5..ed399165f 100644
--- a/tests/bugs/interlocked-add-uint-int.slang
+++ b/tests/bugs/interlocked-add-uint-int.slang
@@ -1,4 +1,6 @@
//TEST:SIMPLE(filecheck=CHECK): -target spirv -profile glsl_450 -stage compute -entry MainCs -line-directive-mode none
+//TEST:SIMPLE(filecheck=CHECK): -target spirv -profile glsl_450 -stage compute -entry MainCs -line-directive-mode none -minimum-slang-optimization
+
//CHECK: {{.*}} OpAtomicIAdd
RWBuffer<uint> g_InterlockTest;