ARB_ubo/referenced-by-shader: pass if shader compiler moves UBOs between shaders
[piglit.git] / tests / spec / arb_shader_atomic_counters / compiler / builtins.frag
blob392b255af0719a1baaaedec49ee8eb3aac986c4d
1 /* [config]
2  * expect_result: pass
3  * glsl_version: 1.50
4  * require_extensions: GL_ARB_shader_atomic_counters
5  * [end config]
6  *
7  * Check that the builtin constants defined by the extension
8  * are present.
9  */
10 #version 150
11 #extension GL_ARB_shader_atomic_counters: require
13 out ivec4 fcolor;
15 void main()
17         fcolor.x = gl_MaxVertexAtomicCounters +
18                 gl_MaxTessControlAtomicCounters +
19                 gl_MaxTessEvaluationAtomicCounters +
20                 gl_MaxGeometryAtomicCounters +
21                 gl_MaxFragmentAtomicCounters +
22                 gl_MaxCombinedAtomicCounters +
23                 gl_MaxAtomicCounterBindings;