commit | cbb28eaeaf35ca5581e6d75a1fa15533984d66ce | [log] [tgz] |
---|---|---|
author | David Rosca <nowrep@gmail.com> | Thu Aug 10 22:05:12 2023 +0200 |
committer | Marge Bot <emma+marge@anholt.net> | Mon Aug 14 18:18:16 2023 +0000 |
tree | 440486f883c6f19c01f4cff4da7ad7ed37950e98 | |
parent | 69fa48fbb1cca7b2fd804104077b17dedadfd090 [diff] |
gallium/auxiliary/vl: Set correct csc matrix in set_buffer_layer Shaders used in set_buffer_layer will apply colorspace conversion, so we need to set correct matrix depending on the input and output surface formats. Use BT.601 (default) for YUV to RGB and identity for RGB to RGB. Reviewed-by: Leo Liu <leo.liu@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24626>