i965: Fix a hardcoded user clip plane count.
authorPaul Berry <stereotype441@gmail.com>
Sat, 24 Sep 2011 04:27:00 +0000 (21:27 -0700)
committerPaul Berry <stereotype441@gmail.com>
Wed, 28 Sep 2011 18:38:03 +0000 (11:38 -0700)
commit7e2b23ba85a89282565d9375b0a885cc48e66c82
treeee16696b4aaf88aab0268b1bf2b47362a60e02fc
parenta864b82a04efd0642f5b2a9489b3c20dac46551f
i965: Fix a hardcoded user clip plane count.

Now that i965 supports 8 clip planes instead of 6, the size of the
brw_vs_compile::userplane array needs to be increased to 8.  Changed
the array size to MAX_CLIP_PLANES so that if the number changes again
in the future, this array size won't be missed.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vs.h