mesa/src/freedreno
Job Noorman f1f32d557e ir3/ra: fix assert during file start reset
While accounting for an input register's merge set when resetting the
file start after the preamble, we implicitly assume that the allocated
register is the preferred one by asserting that the register's merge set
offset is not smaller than its physreg (to prevent an underflow).
However, inputs are not guaranteed to have their preferred register
allocated which causes the assert to get triggered.

Fix this by only taking the whole merge set into account for inputs that
actually got their preferred register allocated.

Signed-off-by: Job Noorman <jnoorman@igalia.com>
Fixes: 9d4ba885bb ("ir3/ra: make main shader reg select independent of preamble")
(cherry picked from commit f84d85790e)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
2025-10-27 09:34:33 -07:00
..
afuc freedreno/afuc: Add x1e fw-id 2025-10-15 14:18:36 +00:00
ci Revert "Reapply "ci/freedreno: Skip overly-slow trace"" 2025-10-15 02:16:36 +00:00
common treewide: don't check before free 2025-10-15 23:01:33 +00:00
computerator freedreno/computerator: disable disk cache 2025-09-25 16:01:04 +00:00
decode freedreno/decode: Add 2d_to_json lua script 2025-10-09 10:02:30 +00:00
drm freedreno: Disable explicit sync heuristic for Xwayland 2025-10-06 15:55:48 +00:00
drm-shim freedreno/drm-shim: Handle GET/SET_METADATA 2025-08-28 16:59:28 +00:00
ds build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
fdl freedreno/layout: gen8 descriptor support 2025-10-09 02:23:32 +00:00
ir2 all: rename gl_shader_stage to mesa_shader_stage 2025-08-06 10:28:40 +08:00
ir3 ir3/ra: fix assert during file start reset 2025-10-27 09:34:33 -07:00
isa ir3: Assemble and disassemble .clp modifier 2025-09-05 16:58:09 +00:00
perfcntrs freedreno/a6xx: Add single common source for a6xx.xml.h 2025-07-03 12:50:04 +00:00
registers freedreno/registers: pm4 updates for gen8 2025-10-09 02:23:32 +00:00
rnn freedreno/decode: Fix ufixed/fixed decode of bitset fields 2025-08-28 16:59:28 +00:00
tests freedreno/registers: Add gen8 regs 2025-10-09 02:23:32 +00:00
vulkan tu: Also disable stencil load for attachments not in GMEM 2025-10-24 08:07:30 -07:00
.clang-format clang-format: Move ForEachMacros into src/.clang-format for freedreno 2025-09-09 07:04:55 +00:00
.dir-locals.el
.editorconfig
meson.build meson: Update Lua dependency version to 5.3 2024-08-14 03:03:46 +00:00