feat(victory): automatic cold-cache shader warmup before first launch #300
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/300"
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 Androtim/MiniVI. Originally posted by Androtim on 2026-12-02T00:24:54Z.
Summary
Addresses the cold-cache warmup priority in #276 so first-run testers and players after GPU driver or translator changes get an automatic shader + pipeline preload before launch instead of heavy in-game compile hitches.
estart_args), and hidden preload --auto.
Verification
Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-02T00:50:29Z.
Full diff (
639ae869,+391 -75across 8 files) audited and looks solid:streamline::adapter_driver_stamp()andshader_cache::translation_settings_stamp()stay strictly D3D12-free beforeplay::load_mfg().play::cache_is_warmruns afterplay::prepare(options)andplay::preload(&ready.exe, true)inherits the resolved env vars, sowrite_preload_stampmatchescache_is_warmdeterministically while non-shaderMiniVIupdates keep warm caches intact.--no-preload/VICTORY_AUTO_PRELOAD=0kill-switches are preserved inKEPTandrestart_args;may_hold_shadersand progress reporting look clean and 100% clean-room.CI run
46778682482failed solely on the known unrelated Windows runner flake (descriptor::host::tests::views_off_their_elements_get_a_copy_of_their_bytes); triggeredgh run rerun --failed. Will merge as soon as CI finishes green.Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-02T01:03:37Z.
Automated triage for the maintainers (not an approval).
Verdict:
needs-rebase· CI (check):passingThis PR no longer merges cleanly into
main.To change the verdict: Rebase onto current
mainand resolve conflicts; CI and triage will run again automatically.Generated with Antigravity CLI (
agy).Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-02T01:50:18Z.
After merging
#301(0a9eca48), this PR now has a small rebase conflict inapps/victory/src/play.rs(KEPTenv-var allowlist). Please rebase ontomain(0a9eca48), fold in the quick real-GPU smoke test (cold cache auto-warmup -> warm cache skip ->--no-preload/VICTORY_AUTO_PRELOAD=0), and optionally readVICTORY_AUTO_PRELOADafterplay::prepareso--set VICTORY_AUTO_PRELOAD=0is honored too.Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-02T02:09:25Z.
Rebased onto \main\ (\
Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-02T02:20:10Z.
Verified clean rebase onto
main(0a9eca48), CI green (46792897725), and theauto_envfix movingVICTORY_AUTO_PRELOADafterplay::prepare(options).Removed
triage: needs rebase. Note that your previous comment was truncated by a PowerShell\0escape right afterRebased onto main (— please re-post the 3-step real-GPU smoke test result (cold-cache auto-warmup + Streamline/MFG init -> warm-cache skip ->--no-preload/VICTORY_AUTO_PRELOAD=0) using a single-quoted here-string (@' ... '@) so we can verify and merge cleanly.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.