intel: Add map_stencil_as_y_tiled to intel_region_get_tile_masks.
authorPaul Berry <stereotype441@gmail.com>
Thu, 30 Aug 2012 17:57:03 +0000 (10:57 -0700)
committerPaul Berry <stereotype441@gmail.com>
Fri, 28 Sep 2012 18:20:39 +0000 (11:20 -0700)
commit96fd94ba9421c7c3072988f999ee869534f2bc2a
treeff8e74b77b056f5ea02a09c4a5afd234b2f728bf
parent239e9bef92bd4602bc30e05177fa85a6e5b69fe0
intel: Add map_stencil_as_y_tiled to intel_region_get_tile_masks.

When the blorp engine is performing a blit from one stencil buffer to
another, it sets up the surface state for these buffers as Y-tiled, so
it needs to be able to force intel_region_get_tile_masks() to return
the appropriate masks for a Y-tiled region.

Acked-by: Eric Anholt <eric@anholt.net>
(cherry picked from commit 50dec7fc2d5ba813aaa822596d124098a22db301)
src/mesa/drivers/dri/i965/brw_blorp.cpp
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/gen6_blorp.cpp
src/mesa/drivers/dri/i965/gen7_misc_state.c
src/mesa/drivers/dri/intel/intel_fbo.c
src/mesa/drivers/dri/intel/intel_regions.c
src/mesa/drivers/dri/intel/intel_regions.h
src/mesa/drivers/dri/intel/intel_screen.c