framework/replay: disable AA accounting when comparing with no tolerance
[piglit.git] / tests / spec / amd_conservative_depth / glsl-1.30 / compiler / late-redeclaration-01.frag
blob84120d3ccffe47618b0d60dfb072219c809eaa5c
1 // [config]
2 // expect_result: fail
3 // glsl_version: 1.30
4 // require_extensions: GL_AMD_conservative_depth
5 // [end config]
6 //
7 // From the AMD_conservative_depth spec:
8 //     Within any shader, the first redeclarations of gl_FragDepth must appear
9 //     before any use of gl_FragDepth.
11 #version 130
12 #extension GL_AMD_conservative_depth: require
14 float f() {
15     gl_FragDepth = 0.0;
16     return 0.0;
19 layout (depth_any) out float gl_FragDepth;