2 #extension GL_ARB_fragment_shader_interlock : enable
\r
4 layout(set = 0, binding = 0) coherent buffer B1 {
\r
5 layout(offset = 0) int x;
\r
8 layout(set = 0, binding = 1, rgba32f) coherent uniform image2D im;
\r
10 layout(sample_interlock_ordered) in;
\r
14 beginInvocationInterlockARB();
\r
17 imageStore(im, ivec2(0,0), vec4(0));
\r
19 endInvocationInterlockARB();
\r