From 8b06b0d19d8fbbc89fa87e29717bca207381024f Mon Sep 17 00:00:00 2001 From: Paul Berry Date: Thu, 15 Sep 2011 14:37:11 -0700 Subject: Gallium: Increase PIPE_MAX_CLIP_PLANES to 8. 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 --- src/gallium/include/pipe/p_state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index 840b3ee0e37..a57e805bd13 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -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 -- cgit v1.2.3