mesa/src
Paul Berry 27bdc76eb9 mesa: Update clipping code to use ctx->Const.MaxClipPlanes.
To support GLSL 1.30, we will need to increase MAX_CLIP_PLANES to 8.
To avoid breaking drivers that do not yet support 8 clip planes, this
patch modifies the Mesa core code that pertains to clipping to use
ctx->Const.MaxClipPlanes rather than MAX_CLIP_PLANES, since
ctx->Const.MaxClipPlanes will remain 6 for drivers that only support 6
clip planes.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2011-09-20 14:51:03 -07:00
..
egl egl: add null platform 2011-09-20 17:44:15 +08:00
gallium scons: MacOSX build fixes. 2011-09-20 20:41:57 +01:00
gbm gbm/dri: avoid crash in dri_screen_create 2011-08-04 14:09:34 +02:00
getopt getopt: Make code more portable. 2011-01-12 16:54:21 +00:00
glsl glsl: Remove field array_lvalue from ir_variable. 2011-09-14 10:58:56 -07:00
glu glu: Avoid defining conflicting DEBUG NDEBUG macros. 2011-08-30 09:42:01 +01:00
glx scons: MacOSX build fixes. 2011-09-20 20:41:57 +01:00
mapi glapi: Don't emit remap data for individual extensions 2011-09-19 12:02:21 -07:00
mesa mesa: Update clipping code to use ctx->Const.MaxClipPlanes. 2011-09-20 14:51:03 -07:00
Makefile
SConscript scons: Unbreak mingw build. 2011-09-20 20:50:48 +01:00