upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/xma2_decoder.cpp
diff options
context:
space:
mode:
authorroanh47 <roanheemstra@outlook.com>2026-12-02 20:57:31 +0100
committerroanh47 <roanheemstra@outlook.com>2026-12-03 10:03:12 +0100
commit14603c0f88aa962eaf318f1f5cfc74d983b31e28 (patch)
tree75786f87e2a2ac2de9fcbcd685991e9a914a9ab1 /runtime/src/xma2_decoder.cpp
parentd9b618f10150f275c30088e4769c1acbf1d8d689 (diff)
d3d12: catch the driver's compiler crashing on a pipeline and carry on
AMD's D3D12 compiler takes an access violation inside CreateGraphicsPipelineState/CreateComputePipelineState on RDNA4 (RX 9070 XT, driver 32.0.32029.2010), which killed the whole run: 11 of 11 starts on the machine this was found on, at amdxc64.dll+0x861b9f. Ported from Belobug/VIctory (GPL-3.0, credited in the module): a vectored exception handler catches the access violation while a worker compiles, parks that worker, records the pipeline key in warm-bad.txt so later runs skip it, and starts a replacement. make_with no longer uses OnceLock::get_or_init, because a parked builder would block every other caller forever. LEONIDA_COMPILER_GUARD (default on) turns the catching off; the bad-key list is still honoured.
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions