perf(gpu): skip stale cross-build pipeline libraries via translator-version guard (Wave 7A) #421
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/421"
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-04T04:11:36Z.
Summary
Ported the Darner
34b0ba7(#188, GPL-3.0) pipeline library translator-version guard:shader_cache::translator_id()(env!(VICTORY_TRANSLATOR)) incrates/victory-gpu/src/shader_cache.rs.host-pipelines.translatoralongsidehost-pipelines.bin/.nexton everyreplace_library()and supersede any existing pendinghost-pipelines.nextincrates/victory-gpu/src/pipeline/library.rs.VICTORY_LIBRARY_KEEP_OLD=1as an explicit opt-in.Scope Update
origin/main(d34843d, preservingSHADER_CACHE_VERSION = 5from #381).D3D12SDKVersion = 0change (apps/victory/src/main.rsandapps/victory/build.rs) following Gate 2 audit19099679, as MiniVI already uses the strictly superioros_runtime()+/DELAYLOAD:d3d12.dllimplementation.Verification
cargo +1.98.1-x86_64-pc-windows-gnu test -p victory-gpu --lib pipeline::library— 17 passed, 0 failedcargo +1.98.1-x86_64-pc-windows-gnu test -p victory-gpu --lib shader_cache— 11 passed, 0 failedcargo +1.98.1-x86_64-pc-windows-gnu xtask policy—asset policy: 365 files okcargo +1.98.1-x86_64-pc-windows-gnu check --workspace— passedImported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-04T04:31:57Z.
Triage (
105c4bd6, CIIN_PROGRESS):+100/-2acrosspipeline/library.rs+shader_cache.rs, default-on guard withVICTORY_LIBRARY_KEEP_OLD=1kill-switch): writeshost-pipelines.translatoralongsidehost-pipelines.bin/.nextand skips stale cross-build pipeline libraries (great pairing with#381'sSHADER_CACHE_VERSION = 5bump before cuttingv2026.12.04.05!).#282) / quick Gate 3 cross-build upgrade smoke test.