perf/pixel-rate: new pixel throughput microbenchmark
[piglit.git] / tests / spec / glsl-1.50 / compiler / gs-input-sizing-layout-inconsistent-with-prev-length-blocks.geom
blob4f0ec10612e3ca1b16473f44ec726893c3613ef4
1 // Section 4.3.8.1 (Input Layout Qualifiers) of the GLSL 1.50 spec says:
2 //
3 //   It is a compile-time error if a layout declaration's array size
4 //   (from table above) does not match any array size specified in
5 //   declarations of an input variable in the same shader.
6 //
7 // This test verifies the case where the input variable declaration
8 // precedes the layout declaration.  This test verifies the case for
9 // input interface blocks.
11 // [config]
12 // expect_result: fail
13 // glsl_version: 1.50
14 // check_link: false
15 // [end config]
17 #version 150
19 in blk {
20   vec4 Color;
21 } inst[3];
23 layout(lines) in;