Prepare mission shaders and pipelines with the settings used during play #385
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/385"
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 PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-11-30T21:00:09Z.
Fixes #384 on
v21(v26.11.24). A mission can change the shader translator’s fingerprint while the launcher reuses the previous run’s preparation stamp. This affects the NaN-store mission, the face-fix mission and the Radeon shader-pack missions.The launcher now uses the selected shader options for the fingerprint query, translation and pipeline warm-up. Its in-memory and on-disk lookups distinguish those settings. Cancellation restores the parent environment. After a successful translation the command-line path invalidates the old warm marker so an unchanged pipeline book is warmed for the new shaders. A second start with the same options skips both steps.
Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-11-30T21:18:56Z.
Final Windows integration on v26.11.24 (
92aa6f4) passed with this PR through34c56ff, #378, #381, #383 and the depth-state correction from #27. The launcher settings, mission and report regressions passed on Windows PowerShell 5.1 and PowerShell 7. Workspace Clippy passed with warnings denied. The Rust suite passed 1,311 tests with 48 ignored. Combined Windows jobThe upstream PR check on the same head without #27 stopped at
pipeline::host::tests::depth_bounds_pipeline_loads_and_filters_draws.Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-12-01T13:52:16Z.
Rechecked this on the published v26.12.2 launcher against mission feed revision 50. Both launchers accepted all 220 missions (67 distinct option sets). Eight A/B pairs changed the engine fingerprint. Stock reused the same shader preparation stamp for five of them:
m-rdna2-shaderpack,m-rdna3-shaderpack,m-rdna4-shaderpack,m-all-nanstoresandm-linux-faces. Applying this PR alongside #383 and #426 eliminated all five collisions.I also ran the actual PowerShell launch sequence in seven configurations. With
VICTORY_NAN_GUARD_STORES=1, stock prepareddacc49501f105ee4and ran5d84f0139912c06e. On the candidate, the preparation stamp, shader translation, pipeline warm and run agreed in all seven. These are Linux launcher tests using a native probe built from the tagged shader source. Its translator build hash matched the one in the published Windows executable. No GPU or game assets are needed to rerun them.Reproduction commands, probe and tests
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.