glsl: Never allow the sequence operator anywhere in an array size
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 9 Oct 2015 22:26:20 +0000 (15:26 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 12 Oct 2015 17:15:14 +0000 (10:15 -0700)
commiteeb444bc995c25224ce661c49dd5df6266e370d1
treef49fcc2a4ce7700ea90f93cc980dbd58314b44ea
parent92635a84a7f464b827baa406578420dd6109e1a4
glsl: Never allow the sequence operator anywhere in an array size

Fixes:

    spec/glsl-1.20/compiler/structure-and-array-operations/array-size-sequence-in-parenthesis.vert
    spec/glsl-es-1.00/compiler/array-sized-by-sequence-in-parenthesis.vert
    spec/glsl-es-3.00/compiler/array-sized-by-sequence-in-parenthesis.vert

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/ast_to_hir.cpp