mesa/src/panfrost
Boris Brezillon 3d241e69c5 panvk: Only use Z24_UNORM_PACKED for AFBC images
The host copy logic doesn't support unpacking/packing D24X8, and if we
were to support it, it would be inefficient because of the non-32-bit
alignment. Given host copy is not a thing on AFBC resources, and given
the Z24_UNORM_PACKED is mostly beneficial to AFBC(Z) resources, let's
restrict its use to this case only and use Z24X8 otherwise.

Fixes: a620f33b7c ("panvk: Add planar Z24S8 support")
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37473>
2025-09-29 13:59:30 +02:00
..
ci panvk/ci: Update waivered tests 2025-09-16 11:09:17 +00:00
clc pan/clc: Wire up gpu_variant to pan_compile_inputs 2025-09-16 15:54:48 +00:00
compiler pan/va: fix bi_is_imm_desc_handle early return 2025-09-18 16:38:39 +00:00
drm-shim panvk: use os_get_option instead of getenv 2025-09-26 22:52:38 +00:00
ds panfrost/perfetto: Use Android-internal perfetto 2025-08-19 15:02:06 +00:00
genxml pan/decode: Fix SYNC_SET32 double dots 2025-09-16 11:09:17 +00:00
lib treewide: Make exported DRM FDs read-write. 2025-09-27 19:46:14 +00:00
libpan panvk: add a meta command for transitioning image layout 2025-08-12 12:43:10 +00:00
midgard pan/midgard: fix check for negative texture offset 2025-08-21 08:45:33 +00:00
model pan: Lift pan_get_model into its own lib 2025-09-16 15:54:48 +00:00
perf build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
shared build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
tools pan/decode: detect error on fseek 2025-08-21 08:45:33 +00:00
util pan: Add gpu variant to compile inputs 2025-09-16 15:54:48 +00:00
vulkan panvk: Only use Z24_UNORM_PACKED for AFBC images 2025-09-29 13:59:30 +02:00
.clang-format clang-format: Update the .clang-format files to conformance clang-format json-schema 2025-09-09 07:04:55 +00:00
meson.build pan: Lift pan_get_model into its own lib 2025-09-16 15:54:48 +00:00