Restore shader lowering modes after a worker panic #1369
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!1369
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1369"
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?
@rafaconvaitis on GitHub · 2026-11-26 18:58 UTC · original
rafaconvaitis:codex/shader-lowering-unwind→main· +56 −12 · 1 files · 1 commits · openFollow-up to #1353. A pipeline worker now continues after a caught build panic. The shader translator used to restore three thread-local lowering modes only after the translation closure returned normally. A panic could leave a mode enabled for the next shader handled by the same worker.
Restore each temporary mode with a drop guard. Normal returns and nested calls keep the previous behavior. The same cleanup now runs during unwinding.
Verification
52ac4ec.git diff --checkpassed.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.