Files
mesa/src
Eric Anholt 2c3e10e719 glsl: Throw the required error when a case label is a non-constant.
It's not quite spelled out in the spec text, but the grammar indicates
that only constant values are allowed as switch() case labels (and
only constant values make sense, anyway).

Fixes piglit glsl-1.30/compiler/switch-statement/switch-case-uniform-int.vert.

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2012-02-03 11:06:54 +01:00
..
2011-01-12 16:54:21 +00:00
2012-01-17 20:01:14 +00:00
2012-01-24 11:34:42 -05:00
2012-01-17 20:01:14 +00:00