i965: Be sure to reset brw->vb.buffers[] when trying to redo vertex setup.
authorEric Anholt <eric@anholt.net>
Tue, 8 Oct 2013 00:31:04 +0000 (17:31 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 23 Oct 2013 22:33:16 +0000 (15:33 -0700)
commit3b58e0ed642b1833b86dbefb36b6055a6709a720
tree0e76bb9409476eef2c186ea0c8eebb477aae12d5
parenta5e2e7f9a4bc813ce85f4a10bcd6086f21aa8a32
i965: Be sure to reset brw->vb.buffers[] when trying to redo vertex setup.

The brw_prepare_vertices that sets up buffers[] depends on these
parameters, so don't let brw_prepare_vertices() skip it.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_draw.c