i965/gs: Reuse gen6 constant push buffers setup code in gen7+.
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Wed, 2 Jul 2014 12:52:40 +0000 (14:52 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Fri, 19 Sep 2014 13:01:15 +0000 (15:01 +0200)
commit406e04113fb23c514cc63bdab9a46476261d6f10
tree0c0e8ca7af5a6dfe55eb4389c740099b00189d94
parent96012dfe80121c5d6f5f9c87149aa4ed1da567cb
i965/gs: Reuse gen6 constant push buffers setup code in gen7+.

The code required for gen6 and gen7+ is almost the same, so reuse it.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/gen6_gs_state.c
src/mesa/drivers/dri/i965/gen7_gs_state.c