1 // Section 4.3.8.1 (Input Layout Qualifiers) of the GLSL 1.50 spec says:
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.
7 // Followed by a table mapping each allowed input layout qualifier to
8 // the corresponding input length.
10 // This test verifies that if an unsized array declaration follows an
11 // input layout qualifier, the size is implied.
14 // expect_result: pass
24 uniform int foo[Color.length() == 2 ? 1 : -1];