r600g: fix fbo-drawbuffers-maxtargets
authorDave Airlie <airlied@redhat.com>
Mon, 20 Sep 2010 00:34:42 +0000 (10:34 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 20 Sep 2010 00:35:38 +0000 (10:35 +1000)
commit4af55364ccb50e4f19cbb59ac6f51d86f58dedba
tree9f18649d65b20d93a6218c6ca7b16d5bf9fee7ba
parent3d12c207d7f9f1d25a0ee7f1bf94ce9a7f70dff3
r600g: fix fbo-drawbuffers-maxtargets

we were leaking buffers since the flush code was added, it wasn't dropping references.
move setting up flush to the set_framebuffer_state.
clean up the flush state object.
make more space in the BOs array for flushing.
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/radeon.h