i965: Disentangle VS constant surface state from WM surface state.
authorEric Anholt <eric@anholt.net>
Tue, 5 May 2009 21:05:54 +0000 (14:05 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 6 May 2009 13:44:14 +0000 (06:44 -0700)
commit9490d86808300e5819941a40784e272c290e05ee
treed01298b6d85f1352ec63fa851158a20590a98417
parentd277547dc69c9004097afdc2ca56a7aed85c6f54
i965: Disentangle VS constant surface state from WM surface state.

Also, only create VS surface state if there's a VS constant buffer to be
uploaded, and set the contents of the buffer at the same time as creation.
src/mesa/drivers/dri/i965/Makefile
src/mesa/drivers/dri/i965/brw_curbe.c
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/brw_vs_surface_state.c [new file with mode: 0644]
src/mesa/drivers/dri/i965/brw_wm_surface_state.c