4 * require_extensions: GL_ARB_shader_atomic_counters
7 * "Counters cannot be treated as l-values; hence cannot be used as
8 * out or inout function parameters, nor can they be assigned into."
11 #extension GL_ARB_shader_atomic_counters: require
13 layout(binding=0) uniform atomic_uint x;
15 void f(inout atomic_uint y)