mesa/src/panfrost
Italo Nicola 2dc883eb37 gallium/st: lower NV21 to R8_B8G8 instead of G8_B8R8
When NV21 lowering with hardware sampling and shader CSC was added, the
incorrect PIPE_FORMAT_G8_B8R8_UNORM was used. That format is supposed to
represent vulkan NV12 instead.

This commit introduces PIPE_FORMAT_R8_B8G8_UNORM, which correctly describes the
gallium mapping for YUV CSC, with R as Y, instead of G as Y.

Fixes: 26e3be513d ("gallium/st: add support for PIPE_FORMAT_NV21 and PIPE_FORMAT_G8_B8R8_420")
Signed-off-by: Italo Nicola <italonicola@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24266>
2023-08-11 18:43:38 +00:00
..
ci ci/panfrost: t760-gles is nightly job, test also GLES 3 and 3.1 2023-08-08 17:01:59 +00:00
compiler panfrost: upcast uint8/uint16 before shifting them beyond their range 2023-08-10 23:14:12 +00:00
drm-shim panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
ds panfrost: rename *.cc files to *.cpp 2023-05-26 18:07:38 +01:00
include panfrost: prepare pan_image_view for multiplanar formats 2023-08-07 19:35:12 +00:00
lib gallium/st: lower NV21 to R8_B8G8 instead of G8_B8R8 2023-08-11 18:43:38 +00:00
midgard pan/mdg: Assume SSA 2023-08-03 22:40:29 +00:00
perf panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
shared meson: inline gtest_test_protocol now that it's always 'gtest' 2023-03-10 07:20:29 +00:00
tools panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
util treewide: sed out more is_ssa 2023-08-03 22:40:28 +00:00
vulkan vulkan: Add a generated vk_properties struct 2023-08-11 02:53:47 +00:00
.clang-format panfrost: Use the Mesa base style 2023-05-29 21:06:12 +00:00
meson.build panfrost: drop no-longer-needed libglsl 2023-02-10 14:09:37 +00:00