Honor the explicit shader cache at startup #4889
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!4889
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4888"
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?
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 12:52 UTC · original
andrewpozdnakov7-jpg:codex2/fix/explicit-cache-startup→main· +11 −7 · 2 files · 1 commits · openWhat it changes
victory play --set VICTORY_CACHE_DIR=...and a cache directory saved invictory-settings.txttake effect after the launcher checks for a named cache. That can run the automatic stale-shader cleanup on the named directory and queue a first-version preload even when its pipelines are present.The first-start check now includes the resolved launch settings, and automatic cleanup checks the effective environment after settings are applied. An empty cache override follows the default-cache path. The launcher can still preload a named cache when its pipelines are missing.
How it was tested
5fabb46eand releasee1251c31have identical launcher sources. They requested cleanup and first-start preload for named caches from a CLI switch, a lowercase CLI switch, and saved settings. They skipped the default path when an empty CLI value overrode an inherited cache.98bad65be76d6b3db4655063dd135a17d78129ca, including inherited and default cache controls.cargo xtask policy --stagedaccepted both files.Checked for overlap
VICTORY_KEEP_OLD_SHADERSduring environment reset. #4486 handles preload completion tracking after an empty-cache start.Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change into another commit.AI-assisted with OpenAI Codex.
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.