3 // testing input arrays without a gl_in[] block redeclaration, see 400.geom for with
\r
9 gl_in.length(); // ERROR
\r
10 gl_in[1].gl_Position;
\r
11 gl_in[i].gl_Position; // ERROR
\r
14 layout(triangles) in;
\r
21 gl_in[i].gl_Position;
\r
25 uniform sampler2D s2D;
\r
31 const ivec2 offsets[5] =
\r
40 vec4 v = textureGatherOffset(s2D, coord[0], offsets[i].xy);
\r
42 offsets[i].xy = ivec2(3); // ERROR
\r
43 v4.x = 3.2; // ERROR
\r
44 v4.xy; // should have non-uniform type
\r
48 float gl_PointSize[1]; // ERROR, adding array
\r
49 float gl_ClipDistance; // ERROR, removing array
\r
54 return i; // implicit conversion of return type
\r