framework/replay: disable AA accounting when comparing with no tolerance
[piglit.git] / tests / spec / glsl-1.50 / compiler / gs-redeclares-pervertex-out-after-other-usage.geom
blob63442d1466dc528c95a797f94ed3093d90777cc7
1 // [config]
2 // expect_result: fail
3 // glsl_version: 1.50
4 // check_link: true
5 // [end config]
6 //
7 // From section 7.1 (Built-In Language Variables) of the GLSL 4.10
8 // spec:
9 //
10 //     If a built-in interface block is redeclared, it must appear in
11 //     the shader before any use of any member included in the
12 //     built-in declaration, or a compilation error will result.
14 // This appears to be a clarification to the behaviour established for
15 // gl_PerVertex by GLSL 1.50, therefore we test it using GLSL version
16 // 1.50.
18 // In this test the variable that we attempt to use before redeclaring
19 // gl_PerVertex is not included in the redeclaration of gl_PerVertex.
21 #version 150
23 layout(triangles) in;
24 layout(triangle_strip, max_vertices = 3) out;
26 void foo()
28   gl_PointSize = 1.0;
31 out gl_PerVertex {
32     vec4 gl_Position;
35 void main()