blob: fd6d134a59ac44e5004e1e197392ac7304859c2b [file] [log] [blame]
John Kessenichf3e2a892013-12-13 18:38:43 +00001#version 420 core
2
3// testing input arrays without a gl_in[] block redeclaration, see 400.geom for with
4
5int i;
6
7layout(triangles) in;
8in vec4 colorun[];
9in vec4 color3[3];
10
11void foo()
12{
13 gl_in.length();
14 gl_in[1].gl_Position;
15 gl_in.length();
16 gl_in[i].gl_Position;
17}
18
19in gl_PerVertex { // ERROR, already used
20 vec4 gl_Position;
21} gl_in[];