\r
layout(location = 23) out vec4 ovla[2];\r
layout(location = 24) out vec4 ovlb[2]; // ERROR\r
+\r
+in float gl_TessLevelOuter[4]; // ERROR\r
ERROR: 0:86: '[]' : tessellation input array size must be gl_MaxPatchVertices or implicitly sized \r
ERROR: 0:96: 'location' : overlapping use of location 24\r
ERROR: 0:99: 'location' : overlapping use of location 24\r
-ERROR: 29 compilation errors. No code generated.\r
+ERROR: 0:101: 'gl_TessLevelOuter' : identifiers starting with "gl_" are reserved \r
+ERROR: 30 compilation errors. No code generated.\r
\r
\r
Shader version: 400\r
ERROR: 0:86: '[]' : tessellation input array size must be gl_MaxPatchVertices or implicitly sized \r
ERROR: 0:96: 'location' : overlapping use of location 24\r
ERROR: 0:99: 'location' : overlapping use of location 24\r
-ERROR: 29 compilation errors. No code generated.\r
+ERROR: 0:101: 'gl_TessLevelOuter' : identifiers starting with "gl_" are reserved \r
+ERROR: 30 compilation errors. No code generated.\r
\r
\r
Shader version: 400\r
if (! symbol) {
bool currentScope;
symbol = symbolTable.find(identifier, 0, ¤tScope);
+
+ if (symbol && builtInName(identifier) && ! symbolTable.atBuiltInLevel()) {
+ // bad shader (errors already reported) trying to redeclare a built-in name as an array
+ return;
+ }
if (symbol == 0 || ! currentScope) {
//
// Successfully process a new definition.