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
ds
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
shared
tools
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
meson.build