1 # Test that when an interface block contains members which are unsized
2 # arrays, the standard rules are applied in order to determine the
3 # array sizes (namely, the sizes should be inferred from the maximum
4 # array element accessed).
6 # In this test, the vertex shader uses an array size of 2, and the
7 # fragment shader uses an array size of 3, so link error should be
8 # produced. Both the vertex and fragment shader use unnamed interface
16 in vec4 piglit_vertex;
25 gl_Position = piglit_vertex;
36 gl_FragColor = vec4(foo[0], foo[1], foo[2], 1.0);