llvmpipe: restore call to lp_setup_update_state()
authorBrian Paul <brianp@vmware.com>
Tue, 29 Jun 2010 21:18:58 +0000 (15:18 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 29 Jun 2010 21:19:01 +0000 (15:19 -0600)
commit249c6735dd5679be9f6ab8951982253919152985
tree79098a417aed6fcf883999ec487d819ec3abd1b3
parent172f3f5eac62fafcd0d97a9859eb2049b1e18424
llvmpipe: restore call to lp_setup_update_state()

This undoes part of commit 8be645d53a0d5d0ca50e4e9597043225e2231b6d
and fixes fd.o bug 28822 as well as other regressions.

The 'draw' module may issue additional state-change commands while
we're inside the draw_arrays/elements() call so it's important to
check for updated state at this point.
src/gallium/drivers/llvmpipe/lp_setup_vbuf.c