git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@21894
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
parseContext.error($2.line, "", "[", "array must be redeclared with a size before being indexed with a variable");\r
parseContext.recover();\r
}\r
+ if ($1->getBasicType() == EbtBlock)\r
+ parseContext.requireProfile($1->getLine(), static_cast<EProfileMask>(~EEsProfileMask), "variable indexing block array");\r
\r
$$ = parseContext.intermediate.addIndex(EOpIndexIndirect, $1, $3, $2.line);\r
}\r