3 #extension GL_ARB_gpu_shader_int64 : enable
\r
4 #extension GL_EXT_buffer_reference : enable
\r
6 layout(buffer_reference, std430) buffer blockType {
\r
10 layout(std430) buffer t2 {
\r
14 layout(location = 0) flat in uint i;
\r
18 atomicAdd(t.f.x[i], 1);
\r
20 coherent blockType b = t.f;
\r
23 volatile blockType b2 = t.f;
\r