mesa/src/panfrost/lib
Boris Brezillon 518f052e98 pan/format: Disable image storage on A8_UNORM
A8_UNORM on v9+ is using RGBA8_UNORM as a pixel format with the
A8_UNORM clump format to dealing with the diffences between
RGBA8 and the actual A8 in-memory layout.

The problem is, LEA_TEX only loads the InternalConversionDescriptor
which contains only the pixel format, and that's what ST_CVT uses
to do the conversion, so we'll actually store 4 components instead
of one.

This shows up with
dEQP-VK.image.load_store.without_any_format.buffer.a8_unorm* after
enabling maintenance5.

For now I've turned off the image storage capability for A8_UNORM
on all gens, but I'd be fine disabling it only on v9+ if you think
that's preferable.

Fixes: d95423686f ("pan/format: Add PAN_BIND_STORAGE_IMAGE flag")
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34648>
(cherry picked from commit 9d1262e108)
2025-04-27 11:50:22 +02:00
..
genxml pan/genxml: Build libpanfrost_decode for v13 2025-04-15 13:36:06 +02:00
kmod pan/kmod: Add drmIoctl() wrapper pan_kmod_ioctl() with CPU trace 2025-04-15 10:37:39 +00:00
tests pan/earlyzs: Default to FORCE_EARLY for ZS update on v11+ 2025-04-15 13:36:07 +02:00
.gitignore
meson.build pan/lib: Build for v13 2025-04-15 13:36:07 +02:00
pan_afbc.c panfrost: support MTK 16L32S detiling 2025-01-29 19:24:59 +00:00
pan_afrc.c panfrost: add translation between modifier and compression rates 2024-07-11 19:02:50 +00:00
pan_attributes.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_blend.c pan/genxml: Enforce explicit packed types on pan_[un]pack 2025-01-10 18:27:27 +00:00
pan_blend.h panfrost: fix SAMPLE_ALPHA_TO_ONE 2024-09-26 02:25:28 +00:00
pan_clear.c panfrost: pass blendable formats to pan_pack_color 2023-11-06 14:30:28 +01:00
pan_desc.c panfrost: Take tiler memory budget into account in pan_select_tiler_hierarchy_mask 2025-04-22 01:25:05 +02:00
pan_desc.h panfrost: Take tiler memory budget into account in pan_select_tiler_hierarchy_mask 2025-04-22 01:25:05 +02:00
pan_earlyzs.c pan/earlyzs: Default to FORCE_EARLY for ZS update on v11+ 2025-04-15 13:36:07 +02:00
pan_earlyzs.h pan/earlyzs: Fix the read-only ZS optimization 2025-04-14 15:20:06 +00:00
pan_encoder.h pan/genxml: Enforce explicit packed types on pan_[un]pack 2025-01-10 18:27:27 +00:00
pan_format.c pan/format: Disable image storage on A8_UNORM 2025-04-27 11:50:22 +02:00
pan_format.h pan/format: Add PAN_BIND_STORAGE_IMAGE flag 2025-04-15 21:30:41 +00:00
pan_indirect_dispatch.c panfrost: invert and rename no_ubo_to_push flag 2025-04-10 08:05:21 +00:00
pan_indirect_dispatch.h panfrost: Kill the mali_ptr typedef 2025-01-07 11:10:55 +00:00
pan_jc.h pan/genxml: Enforce explicit packed types on pan_[un]pack 2025-01-10 18:27:27 +00:00
pan_layout.c pan/lib: Adapt CRC calculation to align to 64x64 on v12+ 2025-04-15 13:36:07 +02:00
pan_pool.h panfrost: Kill the mali_ptr typedef 2025-01-07 11:10:55 +00:00
pan_props.c panfrost: Advertize Mali-G725 support 2025-04-15 13:36:07 +02:00
pan_props.h panvk: Support 64x64 meta tile size for v12 in cmd_preload_render_area_border 2025-04-15 13:36:07 +02:00
pan_samples.c panfrost: properly align value 2025-04-11 08:01:08 +00:00
pan_samples.h panfrost: Make pan_sample.c panfrost_device agnostic 2024-01-23 16:32:09 +00:00
pan_scratch.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_shader.c panvk/va: don't advertise independent denorm behavior 2025-04-10 16:21:09 +00:00
pan_shader.h panfrost: Kill the mali_ptr typedef 2025-01-07 11:10:55 +00:00
pan_texture.c panfrost: use real array for panfrost_emit_plane 2025-04-01 13:46:33 +00:00
pan_texture.h pan/lib: Adapt CRC calculation to align to 64x64 on v12+ 2025-04-15 13:36:07 +02:00
pan_tiler.c panfrost: Remove uneeded pan_device.h inclusions 2024-01-23 16:32:09 +00:00
pan_util.c panfrost: improve swizzle inversion 2024-09-11 19:29:16 +00:00
pan_util.h panfrost: Take tiler memory budget into account in pan_select_tiler_hierarchy_mask 2025-04-22 01:25:05 +02:00
wrap.h panfrost: Kill the mali_ptr typedef 2025-01-07 11:10:55 +00:00