Reuse shared warm marks for the selected adapter library #4193
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!4193
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4192"
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?
@Hellwire on GitHub · 2026-11-30 17:17 UTC · original
Hellwire:fix/selected-adapter-pipeline-warm-cache→main· +54 −34 · 3 files · 1 commits · openProblem
victory warm --usedwithVICTORY_WARM_SHARED=1checks for a pipeline library at the root of the cache. The runtime now stores the active library underadapters/<device>. This makes a second preload rebuild already cached PSOs when there is no root-level library.Change
Use the same adapter selection and cache path as the runtime, then check that the selected D3D12 device can open the saved library before reusing its marks. The check leaves the normal library writer free to load the latest saved file later.
Verification
The Windows production build and 11 CLI warm tests passed. The D3D12 hardware and WARP fixture covers compatible scoped and legacy files, a cache belonging to another adapter, and an invalid scoped file. On an RTX 3070 Ti, a fresh process reused all 2,730 supported marked entries in 1.97 seconds with the scoped library alone. With the same marks and an empty library directory, it reused zero.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.