This will allow drivers to increase ctx->Const.MaxClipPlanes to 8, which is required for GLSL-1.30 compliance.
No driver behavior should be affected. However, many data structures use MAX_CLIP_PLANES as an array size, so these arrays will get slightly larger. --- src/mesa/main/config.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index 91aef90..cc288da 100644 --- a/src/mesa/main/config.h +++ b/src/mesa/main/config.h @@ -62,7 +62,7 @@ #define MAX_LIGHTS 8 /** Maximum user-defined clipping planes */ -#define MAX_CLIP_PLANES 6 +#define MAX_CLIP_PLANES 8 /** Maximum pixel map lookup table size */ #define MAX_PIXEL_MAP_TABLE 256 -- 1.7.6 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev