xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/spv.volatileAtomic.comp (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1#version 450 core
2
3layout(set=0, binding=3) volatile buffer D { uint d[]; } d;
4
5void main()
6{
7    atomicExchange(d.d[0], 0);
8}
9