4 * require_extensions: GL_ARB_shader_atomic_counters
7 * "Except for array indexing, structure field selection, and
8 * parenthesis, counters are not allowed to be operands in
12 #extension GL_ARB_shader_atomic_counters: require
14 layout(binding=0) uniform atomic_uint xs[4];
21 fcolor.x = int(y + atomicCounter((xs[1])));