mesa/src/amd
Samuel Pitoiset 1a00587c44 radv: fix a GPU hang with PS epilogs and secondary command buffers
If the secondary changes the fragment output state and if the same
PS epilog used before ExecuteCommands() is re-bind immediately after
that call, the PS epilog state wouldn't be re-emitted.

Apply the same change for VS prologs, although the logic is slightly
different and the bug shouldn't occur. The whole logic of secondaries
should be completely rewritten because it's definitely not robust.

This fixes a GPU hang in Where Winds Meet, see
https://github.com/doitsujin/dxvk/issues/5436.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40221>
2026-03-09 08:16:49 +00:00
..
addrlib amd: rename most GFX115x definitions for released chips 2025-12-03 13:29:07 +00:00
ci radeonsi/ci: document recent flakes 2026-03-05 18:29:30 +00:00
common amd/common/virtio: use hash_table_u64 2026-03-06 11:30:30 +00:00
compiler aco/isel: skip min/max for SALU fsat if possible 2026-03-07 05:01:44 +00:00
drm-shim amd/drm-shim: add vega20 2026-01-08 09:30:54 +00:00
gmlib meson: Relax -Wmaybe-uninitialized errors 2025-09-16 06:16:20 +00:00
lanczoslib meson: Relax -Wmaybe-uninitialized errors 2025-09-16 06:16:20 +00:00
llvm ac: add ac_cu_info::has_fmask, adjust FMASK checks 2026-03-04 21:14:56 +00:00
packets amd: add gfx11 and gfx12 CP packet definitions 2026-02-28 05:23:59 +00:00
registers amd: Rename GFX1103_R1/R2 to PHOENIX/2 2024-11-20 02:14:40 +00:00
vpelib amd/vpelib: Apply external CSC 2026-03-04 13:17:26 +08:00
vulkan radv: fix a GPU hang with PS epilogs and secondary command buffers 2026-03-09 08:16:49 +00:00
meson.build radv/tests: require drm-shim and use it instead of RADV_FORCE_FAMILY 2025-11-19 07:11:05 +00:00