fix(victory-gpu): honor VICTORY_SKIP_PIPELINES in release builds #384
No reviewers
Labels
No labels
accessibility
bloqué : binaire console
bug
chargeur
console-dll
cpu
documentation
duplicate
enhancement
good first issue
gpu
help wanted
invalid
performance
question
runtime-gdk
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LooperSalty--AnyXboxX!384
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-384"
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?
@Lewandox on GitHub · 2026-11-26 14:42 UTC · original
Lewandox:fix/victory-skip-pipelines-release→main· +79 −25 · 3 files · 2 commits · merged 2026-11-26 17:35 UTCSummary
Addresses point 2 of #299:
VICTORY_SKIP_PIPELINESwas previously gated behind#[cfg(feature = "diagnostics")], so release builds ignored the skip list completely (and even in diagnostics builds,pipeline/make.rscould still queue skipped pipelines viamake::earlyorvictory warm).VICTORY_SKIP_PIPELINESin all Windows builds: remove thefeature = "diagnostics"gate fromparse_skip_hashes,skipped_shader,is_skipped, andnote_drop's skipped-shader branch inthird_party/victory/crates/victory-gpu/src/pipeline.rs, and from the threeis_skippedchecks inthird_party/victory/crates/victory-gpu/src/draw.rs(prepare_for,dispatch, andindirect).skipped_shader_in(shaders)inpipeline::make::left_out(third_party/victory/crates/victory-gpu/src/pipeline/make.rs) so skipped shaders are never queued bymake::early,make::ready,make::now, ormake::warm(preventing driver shader-compiler crashes likeamdxc64.dllon RDNA 4).skip_hashes_accepts_full_hashes_onlyin non-diagnostics Windows builds too, and add unit tests formatch_skipped_shader,is_skippedon a null pointer, andleft_outskippingearly/ready/now.Verification
cargo test -p victory-gpu --lib pipeline(default/release features): passedcargo test -p victory-gpu --features diagnostics --lib pipeline: 22 passed, 0 failedcargo xtask policy(inthird_party/victory):asset policy: 213 files okpipeline.rs,pipeline/make.rs,draw.rs).