Report an unreadable shader book during preload #4785
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by andrewpozdnakov7-jpg on 2026-12-01T08:14:22Z.
Refs #4703.
CI inherits five Clippy errors in
font.rs,menu.rsandpanel.rsfrom main5fabb46. #4707 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 #4707 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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.