mesa/src
Job Noorman 10bf8e0ba6 ir3: emit descriptor prefetch in block dominated by its sources
Descriptor prefetches may be generated for instructions in control flow.
This means we cannot simply emit prefetches at the end of the preamble
because that may not be dominated by all their sources. This commit uses
the helpers introduced by e7ac1094f6 ("ir3: rematerialize preamble defs
in block dominated by sources") to find the correct block to insert
prefetches.

Fixes NIR validation errors in Dying Light 2.

Signed-off-by: Job Noorman <jnoorman@igalia.com>
Fixes: 4e2a0a5ad0 ("ir3: Add descriptor prefetching optimization on a7xx")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36885>
(cherry picked from commit 24cdb0b636)
2025-08-27 08:59:52 +02:00
..
amd radv: dirty some states from graphics pipeline earlier 2025-08-27 08:59:51 +02:00
android_stub
asahi agx: gate scratch opt on internal shaders 2025-08-13 12:59:04 +02:00
broadcom v3dv: Do not increase TFU READAHEAD for imported buffers size 2025-07-16 16:23:12 +02:00
c11 c11: use SPDX-License-Identifier header 2025-01-08 20:37:51 +00:00
compiler nir/uub: fix exclusive scans 2025-08-27 08:59:51 +02:00
drm-shim
egl perfetto: unify init 2025-08-13 12:59:05 +02:00
etnaviv meson: Streamline silencing of warnings in bindgen generated code 2025-07-16 16:23:09 +02:00
freedreno ir3: emit descriptor prefetch in block dominated by its sources 2025-08-27 08:59:52 +02:00
gallium radeonsi/vcn: Enable AV1 decode workaround for gfx1153 2025-08-27 08:59:51 +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 glx: Fix memory leak with software dri 2025-07-02 16:19:30 +02:00
gtest
imagination treewide: Switch to nir_progress 2025-02-26 15:19:53 +00:00
imgui
intel brw: Fix folding case for MAD instruction with all immediates 2025-08-27 08:59:52 +02:00
loader loader: Report DRI_PRIME errors earlier 2025-07-16 16:23:12 +02:00
mapi Get rid of 5 remaining references to glapitable.h 2025-04-27 11:44:57 +02:00
mesa st/interup: flushing objects is a no-op when no context is bound 2025-08-13 12:59:04 +02:00
microsoft dzn: Roll up initialization failure in dzn_meta_init 2025-07-02 16:19:32 +02:00
nouveau compiler/rust: fix errors about hiding elided lifetime 2025-08-27 08:59:51 +02:00
panfrost perfetto: unify init 2025-08-13 12:59:05 +02:00
tool perfetto/android: align datasource names with tooling expectations 2025-04-08 18:29:10 +00:00
util u_trace: Indirect capture fixes 2025-08-13 12:59:05 +02:00
virtio venus: hide swapchainMaintenance1 behind wsi guard 2025-08-27 08:59:50 +02:00
vulkan vulkan/util: add missing vulkan header 2025-08-13 12:59:06 +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: split subdir for virtio/vdrm and virtio/vulkan 2025-07-16 16:23:06 +02:00