Module: Mesa
Branch: 17.1
Commit: b85502603f5a5f653ee11b97d68a77d129859ec1
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b85502603f5a5f653ee11b97d68a77d129859ec1

Author: Topi Pohjolainen <[email protected]>
Date:   Sat Aug 19 09:22:22 2017 +0300

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]>
(cherry picked from commit 393ec1a5071263d300e91f43058ed3b594d41418)

---

 src/intel/blorp/blorp_blit.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c
index 691564c878..d33fde12c9 100644
--- a/src/intel/blorp/blorp_blit.c
+++ b/src/intel/blorp/blorp_blit.c
@@ -1555,6 +1555,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;
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to