mesa/src/freedreno/fdl
Connor Abbott a104a7ca1a tu: Handle non-identity GMEM swaps when resolving
There is a single swap field for each color attachment, regardless of
whether it's in GMEM or not, and this does appear to be used in
GMEM mode when MUTABLEEN is set on the attachment. This means that when
a color attachment has a non-identity swap because it's mutable on a750,
we have to use the same corresponding swap when it's a source in a
GMEM resolve.  When using the fastpath, we have to make sure that the
swaps match because there aren't separate fields for GMEM and sysmem
swap.

This fixes dEQP-VK.image.mutable.2d.*_b8g8r8a8_unorm_draw_copy_resolve
with TU_DEBUG=gmem.

Fixes: 247d11d635 ("tu: Allow UBWC with images with swapped formats.")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33115>
2025-01-23 05:53:40 +00:00
..
fd5_layout.c freedreno: use unicode © instead of DOS-like (C) copyright sign 2024-08-28 08:54:00 +00:00
fd5_layout_test.c freedreno/fdl: Pass fd_dev_info to fdl6_layout 2024-11-21 22:28:34 +00:00
fd6_format_table.c freedreno/fdl, tu: Allow swaps with mutable tiled images 2024-12-18 20:27:44 +00:00
fd6_format_table.h freedreno/fdl, tu: Allow swaps with mutable tiled images 2024-12-18 20:27:44 +00:00
fd6_layout.c freedreno/fdl: Don't enable r8g8 special case for mutable images 2024-12-18 20:27:44 +00:00
fd6_layout_test.c freedreno/fdl: Fix 3d mipmapping height alignment 2024-12-18 20:27:44 +00:00
fd6_tiled_memcpy.cc freedreno/fdl: Add tiling/untiling implementation for a6xx/a7xx 2024-10-17 18:17:18 +00:00
fd6_view.c tu: Handle non-identity GMEM swaps when resolving 2025-01-23 05:53:40 +00:00
fd_layout_test.c freedreno/fdl, tu: Make mutable part of the image layout 2024-12-18 20:27:44 +00:00
fd_layout_test.h freedreno/fdl: Pass fd_dev_info to fdl6_layout 2024-11-21 22:28:34 +00:00
freedreno_layout.c freedreno: use unicode © instead of DOS-like (C) copyright sign 2024-08-28 08:54:00 +00:00
freedreno_layout.h tu: Handle non-identity GMEM swaps when resolving 2025-01-23 05:53:40 +00:00
freedreno_lrz_layout.c freedreno,tu: Unify LRZ layout calculations 2025-01-20 22:07:24 +00:00
freedreno_lrz_layout.h freedreno,tu: Unify LRZ layout calculations 2025-01-20 22:07:24 +00:00
meson.build freedreno,tu: Unify LRZ layout calculations 2025-01-20 22:07:24 +00:00