ARB_ubo/referenced-by-shader: pass if shader compiler moves UBOs between shaders
[piglit.git] / tests / spec / mesa_shader_integer_functions / compiler / interpolation / fs-interpolateAtCentroid-no-uniform.frag
blobb3dc7249c70468f06731d1442f9f415503e73254
1 // [config]
2 // expect_result: fail
3 // glsl_version: 1.30
4 // require_extensions: GL_MESA_shader_integer_functions
5 // [end config]
7 #version 130
8 #extension GL_MESA_shader_integer_functions: require
10 uniform vec4 v4;
12 void main()
14         vec4 res = vec4(0);
16         // <interpolant> must be a shader input.
17         res += interpolateAtCentroid(v4);
19         gl_FragColor = res;