glsl: In later GLSL versions, sequence operator is cannot be a constant expression
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 7 Oct 2015 21:26:29 +0000 (14:26 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 12 Oct 2015 17:15:14 +0000 (10:15 -0700)
commit92635a84a7f464b827baa406578420dd6109e1a4
tree78259e87ad78d0e5527ef8e84dd569780b0b32f8
parent05e4601c6b9ce456cc4a4c395677a22125d889d2
glsl: In later GLSL versions, sequence operator is cannot be a constant expression

Fixes:
    ES3-CTS.shaders.negative.constant_sequence

    spec/glsl-es-3.00/compiler/global-initializer/from-sequence.vert
    spec/glsl-es-3.00/compiler/global-initializer/from-sequence.frag

v2: Fix a couple copy-and-paste mistake in the spec quotations.
Suggested by Matt.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Cc: "10.6 11.0" <mesa-stable@lists.freedesktop.org>
src/glsl/ast_to_hir.cpp