7 // From section 7.1.1 (Compatibility Profile Built-In Language
8 // Variables) of the GLSL 4.10 spec:
10 // However, when a built-in interface block with an instance name
11 // is redeclared (e.g., gl_in), the instance name must be included
12 // in the redeclaration. It is an error to not include the
13 // built-in instance name or to change its name. For example,
16 // vec4 gl_ClipVertex;
17 // vec4 gl_FrontColor;
18 // } gl_in[]; // must be present and must be "gl_in[]"
20 // Note: although this text appears in a section referring to
21 // compatibility profile variables, it's clear from context that it's
22 // meant to apply to any redeclaration of gl_in, whether it is done in
23 // a compatibility or a core profile.
25 // This appears to be a clarification to the behaviour established for
26 // gl_PerVertex by GLSL 1.50, therefore we test it using GLSL version
29 // In this test, we try redeclaraing the gl_PerVertex input as a
35 layout(triangle_strip, max_vertices = 3) out;