GPU: serialize pipeline library misses for the same name #503
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!503
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-503"
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?
@DoubleD17 on GitHub · 2026-11-25 01:50 UTC · original
DoubleD17:fix/pipeline-library-misses-by-name→main· +217 −13 · 2 files · 1 commits · closed without mergingTwo concurrent requests for the same pipeline library name can both miss and create duplicate host PSOs. Reserve the exact name across lookup, creation, and the store attempt, and release the reservation on return or error. Independent names can still create PSOs in parallel. This adapts TG0000's per-name guard from Marvisak/VIctory#1000.
Synthetic D3D12 compute-PSO regression on Windows 11 with an RTX 5070 and VICTORY_LIBRARY_LOCK=1. With the same fixture, base
c96b4f2b83reached two overlapping creations for one name and failed the expected assertion. Candidatea3f997be9amade one creation and returned a library hit to the second caller. The controls confirmed overlapping creation for distinct names and a successful retry after an injected creation failure. The fixture uses an in-memory pipeline library. Frame timing and the cause of the drops reported in #470 remain unverified.AI-assisted.
Pull request closed