i965: Use new vtable entries for surface state updating functions.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 1 Nov 2011 22:41:48 +0000 (15:41 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 11 Nov 2011 06:51:18 +0000 (22:51 -0800)
commitc3e3903a9089043b280c461a72dab5158dc25d32
treedfac03c88011e4c01c509e9b96e888eeab03aadc
parent5d448b42b7143a1a38911b23d94b5c5d5bfa79f0
i965: Use new vtable entries for surface state updating functions.

Now that we have vtable entries in place, we should use them.  This
allows us to drop the cut and pasted Gen7 brw_tracked_state atoms as
they now do exactly the same thing as their brw_wm_surface_state
counterparts.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/brw_vs_surface_state.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c