framework/replay: disable AA accounting when comparing with no tolerance
[piglit.git] / tests / spec / arb_arrays_of_arrays / compiler / gs-input-sizing-implied-length-blocks.geom
blobd35a480bad75ecaa373ef7e037df11c16e1905b4
1 // Section 4.3.8.1 (Input Layout Qualifiers) of the GLSL 1.50 spec says:
2 //
3 //   All geometry shader input unsized array declarations will be
4 //   sized by an earlier input layout qualifier, when present, as per
5 //   the following table.
6 //
7 // Followed by a table mapping each allowed input layout qualifier to
8 // the corresponding input length.
9 //
10 // This test verifies that if an unsized array declaration follows an
11 // input layout qualifier, the size is implied.  This test verifies
12 // the case for input interface blocks.
14 // [config]
15 // expect_result: pass
16 // glsl_version: 1.50
17 // require_extensions: GL_ARB_arrays_of_arrays
18 // check_link: false
19 // [end config]
21 #version 150
22 #extension GL_ARB_arrays_of_arrays: enable
24 layout(lines) in;
26 in blk {
27   vec4 Color;
28 } inst[][3];
30 uniform int foo[inst.length() == 2 ? 1 : -1];
31 uniform int foo2[inst[1].length() == 3 ? 1 : -1];