Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101910
CC: Jason Ekstrand <ja...@jlekstrand.net> CC: Mark Janes <mark.a.ja...@intel.com> CC: mesa-sta...@lists.freedesktop.org Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com> --- src/intel/blorp/blorp_blit.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c index ed00516373..db93d0f585 100644 --- a/src/intel/blorp/blorp_blit.c +++ b/src/intel/blorp/blorp_blit.c @@ -1839,6 +1839,12 @@ try_blorp_blit(struct blorp_batch *batch, surf_get_intratile_offset_px(¶ms->dst, ¶ms->wm_inputs.dst_offset.x, ¶ms->wm_inputs.dst_offset.y); + + if (wm_prog_key->dst_rgb) { + /* See surf_fake_rgb_with_red() */ + params->wm_inputs.dst_offset.x *= 3; + } + params->x0 += params->wm_inputs.dst_offset.x; params->y0 += params->wm_inputs.dst_offset.y; params->x1 += params->wm_inputs.dst_offset.x; -- 2.11.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev