diff options
author | Paul Berry <[email protected]> | 2012-08-30 10:57:03 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2012-09-12 14:44:13 -0700 |
commit | 50dec7fc2d5ba813aaa822596d124098a22db301 (patch) | |
tree | 30490f60831d33a16ee861dfcecfc2eea0be133d /src/mesa/drivers/dri/intel/intel_screen.c | |
parent | f04f219906e40a6647a10fd9c1928509fe25fb84 (diff) |
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.
NOTE: This is a candidate for stable release branches.
Acked-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_screen.c')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c index ca6ac3446b4..e3a442c2a27 100644 --- a/src/mesa/drivers/dri/intel/intel_screen.c +++ b/src/mesa/drivers/dri/intel/intel_screen.c @@ -564,7 +564,7 @@ intel_from_planar(__DRIimage *parent, int plane, void *loaderPrivate) image->region->screen = parent->region->screen; image->offset = offset; - intel_region_get_tile_masks(image->region, &mask_x, &mask_y); + intel_region_get_tile_masks(image->region, &mask_x, &mask_y, false); if (offset & mask_x) _mesa_warning(NULL, "intel_create_sub_image: offset not on tile boundary"); |