summaryrefslogtreecommitdiffstats
path: root/tests/spirv
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spirv')
-rw-r--r--tests/spirv/coherent-2.slang2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/spirv/coherent-2.slang b/tests/spirv/coherent-2.slang
index cd7eab8c3..425ca0fe1 100644
--- a/tests/spirv/coherent-2.slang
+++ b/tests/spirv/coherent-2.slang
@@ -12,4 +12,6 @@ void main(int tid : SV_DispatchThreadID)
AllMemoryBarrier();
output[tid] = buffer[0].Load(0);
// CHECK-DAG: OpDecorate %buffer Coherent
+ // CHECK-DAG: OpDecorate %[[VAR1:[a-zA-Z0-9_]+]] NonUniform
+ // CHECK: %[[VAR1]] = OpAccessChain %{{.*}} %buffer
}