diff options
author | Eric Anholt <[email protected]> | 2012-01-28 11:43:22 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-02-03 11:06:54 +0100 |
commit | 2c3e10e71935506798c413363df27afc4348fb53 (patch) | |
tree | 7d85b819d3de962e02683222fc5c3164b2cace11 /configs/hpux11-32-static-nothreads | |
parent | 22d81f154fed9e004cca91807808ae3b81b01ced (diff) |
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 <[email protected]>
Diffstat (limited to 'configs/hpux11-32-static-nothreads')
0 files changed, 0 insertions, 0 deletions