aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorTopi Pohjolainen <[email protected]>2017-08-19 09:22:22 +0300
committerTopi Pohjolainen <[email protected]>2017-08-21 09:55:08 +0300
commit393ec1a5071263d300e91f43058ed3b594d41418 (patch)
tree25db980a7710590fea94a4ae76061cc42d8be87f /src/intel
parentb040f51b61d4d5ee671ba9d862e871ac5ac67ddf (diff)
intel/blorp: Adjust intra-tile x when faking rgb with red-only
v2 (Jason): Adjust directly in surf_fake_rgb_with_red() Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101910 CC: [email protected] Reviewed-by: Jason Ekstrand <[email protected]> Signed-off-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/blorp/blorp_blit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c
index ed005163733..35008cbbb0a 100644
--- a/src/intel/blorp/blorp_blit.c
+++ b/src/intel/blorp/blorp_blit.c
@@ -1549,6 +1549,7 @@ surf_fake_rgb_with_red(const struct isl_device *isl_dev,
info->surf.logical_level0_px.width *= 3;
info->surf.phys_level0_sa.width *= 3;
+ info->tile_x_sa *= 3;
*x *= 3;
*width *= 3;