mesa/src
Olivia Lee 43b914aef4 panfrost: legalize afbc before zs and rt clears
In panfrost_clear_depth_stencil and panfrost_clear_render_target, we
start the blit context before binding the clear targets. If we don't
legalize AFBC beforehand, we get a recursive blit crash. panfrost_clear
does not need this because the resource should already be legalized in
panfrost_batch_add_surface.

Fixes the following piglit tests with pan_force_afbc_packing:
 - spec@arb_clear_texture@arb_clear_texture-base-formats
 - spec@arb_clear_texture@arb_clear_texture-simple
 - spec@arb_clear_texture@arb_clear_texture-sized-formats

Fixes: 17a62ff993 ("panfrost: legalize afbc before blitting")
Signed-off-by: Olivia Lee <olivia.lee@collabora.com>
Reviewed-by: Eric R. Smith <eric.smith@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34992>
(cherry picked from commit 104ea2e4cf)
2025-06-04 15:52:48 +02:00
..
amd radv: add radv_disable_hiz_his_gfx12 and enable for Mafia Definitive Edition 2025-06-04 15:52:47 +02:00
android_stub
asahi asahi: build asahi_clc for -Dtools=asahi 2025-05-01 09:38:50 +02:00
broadcom v3d/compiler: Fix ub when using memcmp for texture comparisons. 2025-05-20 20:18:08 +02:00
c11 c11: use SPDX-License-Identifier header 2025-01-08 20:37:51 +00:00
compiler glsl: fix sampler and image type checking in lower_precision 2025-06-04 15:52:47 +02:00
drm-shim
egl egl: fix sw fallback rejection in non-sw EGL_PLATFORM=device 2025-05-01 09:39:47 +02:00
etnaviv entaviv/isa: Silence warnings about non snake case names 2025-06-04 15:52:44 +02:00
freedreno st/mesa: fix _IntegerBuffers bitfield use 2025-05-20 20:18:08 +02:00
gallium panfrost: legalize afbc before zs and rt clears 2025-06-04 15:52:48 +02:00
gbm meson: support building with system libgbm 2025-04-09 12:15:33 +00:00
getopt
gfxstream gfxstream: get rid of logspam in virtualized case 2025-06-04 15:52:44 +02:00
glx Get rid of 5 remaining references to glapitable.h 2025-04-27 11:44:57 +02:00
gtest
imagination treewide: Switch to nir_progress 2025-02-26 15:19:53 +00:00
imgui
intel intel/isl: don't clamp num_elements to (1 << 27) 2025-06-04 15:52:47 +02:00
loader loader: Stop looking in ${libdir}/tls/ 2025-03-13 19:45:45 +00:00
mapi Get rid of 5 remaining references to glapitable.h 2025-04-27 11:44:57 +02:00
mesa mesa/main: remove non-existing function prototype 2025-06-04 15:52:46 +02:00
microsoft ci/microsoft: Add job timeouts and pin Piglit to GSt 2025-04-01 12:21:01 +00:00
nouveau nouveau/mme: Don't install the HW tests 2025-06-04 15:52:46 +02:00
panfrost panvk: fix memory binding for wsi image alias 2025-06-04 15:52:47 +02:00
tool perfetto/android: align datasource names with tooling expectations 2025-04-08 18:29:10 +00:00
util radv: add radv_disable_hiz_his_gfx12 and enable for Mafia Definitive Edition 2025-06-04 15:52:47 +02:00
virtio virtio/vpipe: Correct vdrm_vpipe_connect() definition 2025-05-07 09:04:50 +02:00
vulkan vulkan/wsi: include missing barrier for transferring to blit dst image 2025-06-04 15:52:47 +02:00
x11 glx/egl/x11: fix x11_dri3_check_multibuffer 2025-02-17 02:50:15 +00:00
.clang-format radv: Add radv_foreach_stage to ForEachMacros again. 2025-04-11 18:01:47 +00:00
meson.build meson: support building with system libgbm 2025-04-09 12:15:33 +00:00