AnyPS5/core
Daan Dehing 2dd453dae0 fix(agc): drain the registration preparation pool before the device is reset
Background registration preparations (#2583) copy the device's
SpirvTarget, whose capability and extension spans point into the
device's shader profile. Driver::stop reset the device without waiting
for the detached pool, so a preparation still queued or running read
freed extension names and agc_driver crashed at exit on RADV.

Driver::stop now closes the pool after joining the queue workers: it
stops queueing and waits until no task is queued or running. A
preparation submitted after that runs on the caller's thread, which
holds its own reference to the device, like the existing fallback for
a pool without threads.

Fixes #2891

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 01:34:05 +02:00
..
Decoder fix(png): bound transparency chunk detection to the input 2026-10-10 09:28:30 +08:00
libs fix(agc): drain the registration preparation pool before the device is reset 2026-10-11 01:34:05 +02:00
relinker Merge pull request #2885 from MarcZX100/fix/relinker-linux-input-phdr-interp 2026-10-11 01:13:32 +02:00
shader/recompiler Merge pull request #2940 from CnRJay/fix/recompiler-sdwa-cvt-f16-16-byte-source 2026-10-11 01:33:36 +02:00