1 # Section 4.3.8.1 (Input Layout Qualifiers) of the GLSL 1.50 spec says:
3 # It is a link-time error if not all provided sizes (sized input
4 # arrays and layout size) match across all geometry shaders in the
7 # This test exercises the case where the layout size is less than the
8 # size of a sized input array in another compilation unit.
10 # This test verifies the case for input interface blocks.
26 vertex_to_gs = vertex;
33 layout(triangle_strip, max_vertices = 3) out;
35 void do_vertex(int i);
39 for (int i = 0; i < 2; i++)
52 gl_Position = inst[i].vertex_to_gs;
63 color = vec4(0.0, 1.0, 0.0, 1.0);