i965: Merge gen8_upload_constant_state into gen7_upload_constant_state.
authorEric Anholt <eric@anholt.net>
Thu, 1 May 2014 16:55:59 +0000 (09:55 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 3 May 2014 00:01:40 +0000 (17:01 -0700)
commit113037148d19be4598301e48505d22dda1f7596f
tree5f64acf1bac03b176af77c9a98546e31b64d74f9
parent51b79a657110044838380406fbb0930aa7664f4e
i965: Merge gen8_upload_constant_state into gen7_upload_constant_state.

The two paths are really similar, and the extra conditionals will be
dwarfed by the cost of the actual upload.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/gen7_vs_state.c
src/mesa/drivers/dri/i965/gen8_gs_state.c
src/mesa/drivers/dri/i965/gen8_ps_state.c
src/mesa/drivers/dri/i965/gen8_vs_state.c