Gallium: Increase PIPE_MAX_CLIP_PLANES to 8.
authorPaul Berry <stereotype441@gmail.com>
Thu, 15 Sep 2011 21:37:11 +0000 (14:37 -0700)
committerPaul Berry <stereotype441@gmail.com>
Tue, 20 Sep 2011 21:51:16 +0000 (14:51 -0700)
Since Mesa is now capable of supporting up to 8 clipping planes
instead of 6, this patch updates Gallium internals to support 8
clipping planes as well.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/include/pipe/p_state.h

index 840b3ee0e37dfe3b93a39d0af6c79c412293c80b..a57e805bd130c5ccf97b17d7a85cba27ae967fd6 100644 (file)
@@ -54,7 +54,7 @@ extern "C" {
  * Implementation limits
  */
 #define PIPE_MAX_ATTRIBS          32
-#define PIPE_MAX_CLIP_PLANES       6
+#define PIPE_MAX_CLIP_PLANES       8
 #define PIPE_MAX_COLOR_BUFS        8
 #define PIPE_MAX_CONSTANT_BUFFERS 32
 #define PIPE_MAX_SAMPLERS         16