ARB_ubo/referenced-by-shader: pass if shader compiler moves UBOs between shaders
[piglit.git] / tests / spec / arb_shader_atomic_counters / compiler / lvalue-3.frag
blobeab47b51326d8173180e7151d065642172be1157
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;
13 layout(binding=0) uniform atomic_uint y;
15 void main()
17         x = y;