[Mesa-dev] [PATCH 5/5] Increase MAX_CLIP_PLANES to 8
Paul Berry
stereotype441 at gmail.com
Wed Sep 14 12:49:34 PDT 2011
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
More information about the mesa-dev
mailing list