d3d12: catch the driver's compiler crashing on a pipeline and carry on (carry of #3222) #3333
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3333"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T14:02:45Z.
Carries #3222 by @roanh47 onto current
main. Claim and authorship stay theirs: the two commits are theirs, unchanged; the only new commit mergesmainand regeneratesd3d12/docs/switches.mdwithtools/d3d12_switches.py --out(the one conflict, a generated file whose format changed in #3318).#3222 was green but stuck in conflict on that generated page only, and the contributor branch could not be updated from here.
What it does (from #3222)
Catches the driver's shader compiler crashing on a pipeline and carries on (
LEONIDA_COMPILER_GUARD), instead of taking the game down.Tested
d59a9d6e2; the later head only regenerated the switches page).python -I tools/d3d12_switches.py --check d3d12/docs/switches.mdexit 0,python -I tests/test_d3d12_switches.pyOK. CI runs on this pull request.If #3222 is updated by its author first, this one can be closed.
AI-assisted (Claude Code, Claude Opus 5.5).
🤖 Generated with Claude Code