i965: Refactor rb surface setup to allow caller to store offsets
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Tue, 17 Mar 2015 11:09:16 +0000 (13:09 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 29 Apr 2015 21:28:47 +0000 (00:28 +0300)
commitc8b0d890c0b7e6aa5ed326b94ac30dcb7278e7ea
treeccd48e3f6822bb113da13ebe912beea2041774dd
parentd6c83c9d863f9f13e46584b93cbab6d3a3885aea
i965: Refactor rb surface setup to allow caller to store offsets

Notice that in gen7_wm_surface_state.c there is also indentation
change in the surrounding code removing tabs.

v2 (Matt): Fixed whitespace: tabs -> spaces

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/gen6_surface_state.c
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c
src/mesa/drivers/dri/i965/gen8_surface_state.c