i965/gen4: Move unit state setup to emit() time.
authorEric Anholt <eric@anholt.net>
Sat, 22 Oct 2011 17:51:34 +0000 (10:51 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 29 Oct 2011 19:16:27 +0000 (12:16 -0700)
commitc4aaf85285fc9484e95e9cda89db9cc6923259f4
tree77da72b5cf01df2dbee5b1b9c0f0436ed6ea32b6
parentc0574d5a903df450b694c13018149cb2d9978ba5
i965/gen4: Move unit state setup to emit() time.

It is only needed in time for brw_psp_urb_cbs(), which is also an emit().

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_clip_state.c
src/mesa/drivers/dri/i965/brw_gs_state.c
src/mesa/drivers/dri/i965/brw_sf_state.c
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/brw_vs_state.c
src/mesa/drivers/dri/i965/brw_wm_state.c