gallium/auxiliary/vl: Scale dst_rect x0/y0 when rendering chroma plane
authorDavid Rosca <nowrep@gmail.com>
Thu, 28 Sep 2023 15:23:59 +0000 (17:23 +0200)
committerEric Engestrom <eric@engestrom.ch>
Wed, 15 Nov 2023 21:21:24 +0000 (21:21 +0000)
commit0680995b18adceee47cd2985eabfb4cfce8c5ff7
tree7262f9ffcad532ac9e86a9b58ae9ec3e0245f843
parentb1833834ddbe5e1956d7cb646677b22cc252fd08
gallium/auxiliary/vl: Scale dst_rect x0/y0 when rendering chroma plane

This fixes incorrect chroma plane position when x0/y0 is not zero.

Fixes: 001358a97cc ("vl/compositor: add a new function for YUV deint")

Acked-by: Thong Thai <thong.thai@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26123>
(cherry picked from commit 35b0ccd8554e8b46833cb5b57be91e6201754a4f)
.pick_status.json
src/gallium/auxiliary/vl/vl_compositor.c