i965: Expose surface setup internals for use by blits.
authorPaul Berry <stereotype441@gmail.com>
Fri, 27 Apr 2012 01:01:01 +0000 (18:01 -0700)
committerPaul Berry <stereotype441@gmail.com>
Tue, 15 May 2012 22:09:22 +0000 (15:09 -0700)
commit36e34134184e72532f2e6a2b9438f72284ac3057
tree38c8c2f726e207535d7f591a43b7e33e3b103b3e
parent586b3894744819071bb1ad56383e3c0d9e5b7e1f
i965: Expose surface setup internals for use by blits.

This patch exposes the functions brw_get_surface_tiling_bits and
gen7_set_surface_tiling, so that they can be re-used when setting up
surface states in gen6_blorp.cpp and gen7_blorp.cpp.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c