7 // Check that bulk assignment to a built-in array is allowed in GLSL 1.20.
9 // From section 5.8 of the GLSL 1.20 spec:
10 // Variables that are built-in types, entire structures or arrays,
11 // structure fields, l-values with the field selector ( . )
12 // applied to select components or swizzles without repeated
13 // fields, l-values within parentheses, and l-values dereferenced
14 // with the array subscript operator ( [] ) are all l-values.
17 varying vec4 gl_TexCoord[gl_MaxTextureCoords];
19 void f(vec4[gl_MaxTextureCoords] x)
26 vec4[gl_MaxTextureCoords] x;
28 gl_Position = vec4(0.0);