ARB_ubo/referenced-by-shader: pass if shader compiler moves UBOs between shaders
[piglit.git] / tests / spec / arb_shader_atomic_counters / compiler / lvalue-1.frag
blob1f0e56f2500950d4221277e2ee82c8e372863d42
1 /* [config]
2  * expect_result: fail
3  * glsl_version: 1.40
4  * require_extensions: GL_ARB_shader_atomic_counters
5  * [end config]
6  *
7  * "Counters cannot be treated as l-values."
8  */
9 #version 140
10 #extension GL_ARB_shader_atomic_counters: require
12 layout(binding=0) uniform atomic_uint x;
14 void main()
16         x = 0;