i965: Add an offset argument to constant buffer setup.
authorEric Anholt <eric@anholt.net>
Wed, 20 Jun 2012 20:03:04 +0000 (13:03 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 7 Aug 2012 20:54:51 +0000 (13:54 -0700)
commit5bffbd7ba2ba2ff21469b2a69a0ed67f0802fec7
tree03c90e7344b331a565a1c25af60c1b612d9b5dae
parent5fc5b29a543a7a229bf03f8f9f37ed4c592a67e7
i965: Add an offset argument to constant buffer setup.

We'll use this for UBO surfaces.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_state.h
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
src/mesa/drivers/dri/intel/intel_context.h