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>
struct brw_reg reg;
} output_regs[128];
- struct brw_reg userplane[6];
+ struct brw_reg userplane[MAX_CLIP_PLANES];
/** we may need up to 3 constants per instruction (if use_const_buffer) */
struct {