i965: use _NEW_PROGRAM_CONSTANTS and always create new const buffers
authorBrian Paul <brianp@vmware.com>
Wed, 22 Apr 2009 15:14:16 +0000 (09:14 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 22 Apr 2009 15:14:16 +0000 (09:14 -0600)
commit1dbab84e21cad81e971265db3dbc8dc6c344b340
tree344bde4256173e336e87a19bcd5bad27f645fc5d
parent6b6a23c0f7e042d71764a2028f3d33b59076ac7c
i965: use _NEW_PROGRAM_CONSTANTS and always create new const buffers

When program constants change we create a new VS constant buffer
instead of re-using the old one.  This allows us to have several
const buffers in flight with vertex rendering.
src/mesa/drivers/dri/i965/brw_wm_surface_state.c