7 // From section 4.1.9 (Arrays) of the GLSL 4.40 spec (as of revision 7):
9 // However, unless noted otherwise, blocks cannot be redeclared;
10 // an unsized array in a user-declared block cannot be sized
11 // through redeclaration.
13 // The only place where the spec notes that interface blocks can be
14 // redeclared is to allow for redeclaration of built-in interface
15 // blocks such as gl_PerVertex. Therefore, user-defined interface
16 // blocks can never be redeclared. This is a clarification of
17 // previous intent (see Khronos bug 10659:
18 // https://cvs.khronos.org/bugzilla/show_bug.cgi?id=10659), so we test
19 // it for GLSL version 1.50.
21 // In this test, the named interface block is redeclared using the
22 // same block name that it had previously.