ARB_ubo/referenced-by-shader: pass if shader compiler moves UBOs between shaders
[piglit.git] / tests / spec / mesa_shader_integer_functions / compiler / precise-qualifier / precise-10.vert
blob28b0b67a436bc446589c55e50bebf57477b51c9e
1 // [config]
2 // expect_result: fail
3 // glsl_version: 1.30
4 // require_extensions: GL_MESA_shader_integer_functions
5 // [end config]
7 // test that precise redeclaration after the first use of a variable is not allowed.
9 #version 130
10 #extension GL_MESA_shader_integer_functions: require
12 float x;
13 x = 1;
14 precise x;      /* redeclaration after use */