gallium/auxiliary/vl: Add RGB to YUV compute shader
authorDavid Rosca <nowrep@gmail.com>
Wed, 30 Aug 2023 11:18:30 +0000 (13:18 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 26 Sep 2023 13:03:45 +0000 (13:03 +0000)
commitd3d577b7686051a319c11de3b1ca7604a16ed634
tree2fb1c68a328112a76fe746fd79cb8484220f872d
parent0456f5bad11ab116391e3b11d7b8854b13f31e51
gallium/auxiliary/vl: Add RGB to YUV compute shader

Compared to fragment shader that was being used before, it supports
chroma location and fixes wrong color at right/bottom edge when scaling.

Acked-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Thong Thai <thong.thai@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25258>
src/gallium/auxiliary/vl/vl_compositor.c
src/gallium/auxiliary/vl/vl_compositor.h
src/gallium/auxiliary/vl/vl_compositor_cs.c