mesa/src
Luigi Santivetti 5594cb90ac pvr: keep compiler resources in sync with attachments
Do not assume that the application always provides images for backing
attachments. The app can provide a super set of attachments of which
only some are actually backed with images.

We want to filter-out attachments that aren't meaningful for rendering
or sampling, and create compiler resources only for relevant ones.

Fix assert in CTS:
  pvr_arch_mrt.c:215: pvr_rogue_init_usc_mrt_setup: Assertion `att_format != VK_FORMAT_UNDEFINED' failed.

Seen in pipeline monolithic, for instance:
  dEQP-VK.pipeline.monolithic.multisample.misc.dynamic_rendering.multi_renderpass.r8g8b8a8_unorm_r16g16b16a16_sfloat_r16g16b16a16_sint_d32_sfloat_s8_uint.random_127

Fixes: d549c1d045 ("pvr: add pipeline handling to use dynamic rendering info")
Signed-off-by: Luigi Santivetti <luigi.santivetti@imgtec.com>
Acked-by: Frank Binns <frank.binns@imgtec.com>
(cherry picked from commit 5473ca3be3)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40752>
2026-04-01 11:45:31 +02:00
..
amd aco/tests: fix assembler/isel tests with LLVM 23 2026-04-01 11:45:31 +02:00
android_stub android_stub: fix missing prototypes issues 2025-12-02 20:03:02 +00:00
asahi hk: Fix crash in hk_handle_passthrough_gs 2026-02-25 14:22:24 +01:00
broadcom v3d: reject fast TLB blit when RT formats don't match 2026-03-11 23:21:09 +01:00
c11 c11/threads: fix build on c23 2025-11-10 07:01:50 +10:00
compiler mesa: add force_explicit_uniform_loc_zero workaround 2026-04-01 11:45:30 +02:00
drm-shim drm-shim: handle DRM_CAP_ADDFB2_MODIFIERS 2025-11-24 12:34:08 +00:00
egl wsi/wayland: Use wl_fixes to destroy wl_registry 2026-03-17 12:38:44 +01:00
etnaviv etnaviv/ci: Add gitlab-ci-inc.yml to file list 2026-01-19 20:46:38 +00:00
freedreno tu/kgsl: Better detection of sparse support 2026-03-17 18:59:18 +01:00
gallium frontends/va: Fix leaks when create_video_codec fails 2026-04-01 11:45:31 +02:00
gbm gbm: Make documentation for gbm_bo_map more explicit 2025-12-29 10:05:38 +00:00
getopt
gfxstream gfxstream: Add VK_EXT_frame_boundary support 2026-01-20 20:27:10 +00:00
glx glx: guard glx_screen frontend_screen member 2026-03-11 23:21:11 +01:00
gtest
imagination pvr: keep compiler resources in sync with attachments 2026-04-01 11:45:31 +02:00
imgui imgui: Silence build warnings for imgui 2025-09-16 06:16:19 +00:00
intel brw: do not omit RT writes if dual_src_blend is on 2026-04-01 11:45:31 +02:00
kosmickrisp kk: Fix graphics pipeline serialization 2026-02-25 14:22:22 +01:00
loader loader: fix UB in wayland helper code. 2026-01-03 07:56:38 +00:00
mesa mesa: add force_explicit_uniform_loc_zero workaround 2026-04-01 11:45:30 +02:00
microsoft vk: descriptors: sort bindings along with flags 2026-01-20 15:55:47 +00:00
nouveau nvk: Broacast viewport0 and scissor0 in case of FSR on Turing 2026-04-01 11:45:30 +02:00
panfrost pan/lib: divide extent by tile-extend, not itself 2026-04-01 11:45:31 +02:00
poly panvk/csf: implement VK_EXT_primitives_generated_query primitive restart 2026-01-21 09:03:34 +00:00
tool pps/meson: minor refactor for pps_deps 2025-11-08 18:39:00 -08:00
util util/driconf: add workarounds for Lethis - Path Of Progress 2026-04-01 11:45:30 +02:00
virtio venus: force prime blit on Nvidia GPU 2026-03-17 12:39:24 +01:00
vulkan vulkan/wsi/headless: properly use CPU images for CPU devices 2026-04-01 11:45:30 +02:00
x11 x11: Add helper util to check for xshm support 2026-03-11 23:21:10 +01:00
.clang-format util: Add sparse bitset data structure 2025-11-06 21:34:33 +00:00
meson.build kk: Add KosmicKrisp 2025-10-20 17:46:38 +00:00