diff options
| author | roanh47 <roanheemstra@outlook.com> | 2026-12-02 20:57:31 +0100 |
|---|---|---|
| committer | roanh47 <roanheemstra@outlook.com> | 2026-12-03 10:03:12 +0100 |
| commit | 14603c0f88aa962eaf318f1f5cfc74d983b31e28 (patch) | |
| tree | 75786f87e2a2ac2de9fcbcd685991e9a914a9ab1 /runtime/test/queue_proxy_test.cpp | |
| parent | d9b618f10150f275c30088e4769c1acbf1d8d689 (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/test/queue_proxy_test.cpp')
0 files changed, 0 insertions, 0 deletions