i965: define, use BRW_MAX_DRAW_BUFFERS
authorBrian Paul <brianp@vmware.com>
Thu, 29 Oct 2009 21:01:02 +0000 (15:01 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 29 Oct 2009 21:33:43 +0000 (15:33 -0600)
commit198ec96d364dabd82952a451eeda7937db383f0d
treea7e018f5580c108ce380f04301854ff8d3abd63a
parent7648c80ac8dd0631c5a0f86ad03347675a48eee6
i965: define, use BRW_MAX_DRAW_BUFFERS

i965 might support more than 4 color draw buffers.  But if not, this protects
from breakage if the Mesa limit is raised.
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_wm_surface_state.c