Report an unreadable shader book during preload #4786
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!4786
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4785"
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 08:14 UTC · original
andrewpozdnakov7-jpg:fix/4703-missing-warm-shader-book→main· +53 −0 · 2 files · 2 commits · draftRefs #4704.
CI inherits five Clippy errors in
font.rs,menu.rsandpanel.rsfrom main5fabb46. #4708 addresses them.What it changes
A pipeline warm-up with a recorded recipe could exit successfully when the worker could not open the shader book. The launcher could record a completed preload even though the worker made no pipelines.
Check that the shader book can be opened when either warm-up stage has pipelines to process. If the open fails, report the file path and return an error before starting workers. Empty caches and runs with no scheduled pipelines still succeed.
How it was tested
Windows, synthetic cache records and an empty input directory. No game assets or rendering run.
On main
5fabb46,cargo test --locked -p victory --test cache_pathsreproduced0 madewith exit 0. A library-only synthetic preload also returned 0 with0 of 1saved.With
65269e7, the same test target passed 2/2. The library-only preload returned 1 and namedknown-shaders.bin. The reporter later confirmed the shader book was absent after they moved it while keeping the pipeline book. The same release resumed shader translation after they restored it. Reporter confirmation.cargo xtask policy --stagedpassed for both changed files.cargo clippy --locked -p victory --all-targets -- -D warningsstopped on the five inherited diagnostics.Both strict workspace Clippy gates (default and all features) passed locally with
65269e7and the exact #4708 changef4396b7, in combined commit 569af16.Follow-up
a0f1a34relocates the shader-book helper and its existing regression around #3588. On main5fabb46, Git produced the same combined tree fdc3a14 in either merge order with the rebased #3588 change.Checked for overlap
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.