ext_gpu_shader4: add compiler tests for everything
[piglit.git] / tests / spec / arb_shader_atomic_counters / compiler / declaration-allowed.frag
blob81521a0f5f0d0c43970c2ebc1b77b6c57cc37137
1 /* [config]
2  * expect_result: pass
3  * glsl_version: 1.40
4  * require_extensions: GL_ARB_shader_atomic_counters
5  * [end config]
6  *
7  * "[Atomic counters] can only be declared as function parameters or
8  *  uniform-qualified global variables."
9  */
10 #version 140
11 #extension GL_ARB_shader_atomic_counters: require
13 layout(binding=0) uniform atomic_uint x;
15 void f(atomic_uint y)
19 void main()