mesa/src
Eric Anholt 728bda08d8 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>
(cherry picked from commit 2c3e10e719)
2012-02-07 10:26:16 -08:00
..
egl wayland-drm: Drop the non-premul formats, use format codes from drm_fourcc.h 2012-01-11 14:24:00 -05:00
gallium gallium/dri: Handle xserver that doesn't send needless DRI2 invalidate events 2012-02-03 12:05:36 +00:00
gbm gbm: fix copy & paste error in gbm_bo_get_handle documentation 2012-01-25 12:24:51 -05:00
getopt
glsl glsl: Throw the required error when a case label is a non-constant. 2012-02-07 10:26:16 -08:00
glu glu: remove BeOS define as BeOS is not longer a target platform 2011-12-27 09:16:51 -07:00
glx glx/dri: Initialize api even if num_attribs == 0. 2012-01-11 12:13:49 -08:00
mapi mapi/glapi: Never use a generic no-op entry-point on Windows. 2012-02-02 15:43:10 +00:00
mesa mesa: Fix the error message function names for glFlushMappedBufferRange(). 2012-02-07 10:26:16 -08:00
Makefile
SConscript scons: Unbreak mingw build. 2011-09-20 20:50:48 +01:00