Increase MAX_CLIP_PLANES to 8
authorPaul Berry <stereotype441@gmail.com>
Thu, 8 Sep 2011 01:28:32 +0000 (18:28 -0700)
committerPaul Berry <stereotype441@gmail.com>
Tue, 20 Sep 2011 21:51:13 +0000 (14:51 -0700)
commit61b2d01101ee6d42c11a2547909460a5c21588a0
treead8c7bfd4de42f4d20979d1a1d37ba579cb166d0
parent2dfa33a5e9325bfe9adb3a15aba466e3f15eb2c5
Increase MAX_CLIP_PLANES to 8

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.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/config.h