i965: Clean up code for VS pull constant surface creation.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 7 Nov 2011 06:41:26 +0000 (22:41 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 11 Nov 2011 06:51:19 +0000 (22:51 -0800)
commit91043c21f9b82054060311aabb617dd6e5058602
tree99ec16c277d3b5a7b72016479ff0700a9023266b
parente7c29c5de82f6de3d30ed1143d9672dd2e25f0e7
i965: Clean up code for VS pull constant surface creation.

Like for the WM pull constants, we can merge the former prepare/emit
stages into one tracked state atom.  Furthermore, the code that used to
handle the binding table was removed in the last commit, leaving some
rather silly looking short functions that can easily be folded in.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
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