From: Paul Berry Date: Thu, 15 Sep 2011 21:37:11 +0000 (-0700) Subject: Gallium: Increase PIPE_MAX_CLIP_PLANES to 8. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b06b0d19d8fbbc89fa87e29717bca207381024f;p=mesa.git 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 --- 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