summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2011-09-15 14:37:11 -0700
committerPaul Berry <[email protected]>2011-09-20 14:51:16 -0700
commit8b06b0d19d8fbbc89fa87e29717bca207381024f (patch)
tree0b45749cc5fd3558bc63c0a6914b6b15830425eb /src/gallium/include
parentbc0037083235ea149d8a2708bd1a5d2559f07dc7 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_state.h2
1 files changed, 1 insertions, 1 deletions
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