gallium/auxiliary/vl: Fix chroma offset of compute_shader_weave
authorDavid Rosca <nowrep@gmail.com>
Sun, 23 Jul 2023 18:16:28 +0000 (20:16 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 27 Jul 2023 13:16:10 +0000 (13:16 +0000)
commite52f7d5cb9c24fa3cc67fa9b9c8140a35a33d369
treeadd0bf425ed6424491ce1fe4ec7f42445a64f0f4
parent3a484cd4ead0b8735f29f6e022ba4f2df2f22efd
gallium/auxiliary/vl: Fix chroma offset of compute_shader_weave

Truncate UV coordinates to fix incorrect chroma offset.
Adjust texture offsets to match this change:
   0.5   on X
   0.25  on Y (interlaced)

Reviewed-by: Thong Thai <thong.thai@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24301>
src/gallium/auxiliary/vl/vl_compositor_cs.c