GPU diagnostics: order tied drop counts consistently #356
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!356
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/356/head"
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?
@FIocker on GitHub · 2026-11-24 02:34 UTC · original
FIocker:gpu/stable-drop-rank→main· +3 −1 · 1 files · 1 commits · merged 2026-11-24 08:02 UTCRank diagnostic drop reasons by count descending and reason ascending. The frame report shows up to 40 reasons, so equal counts previously let the HashMap iteration order change which entries appeared at the cutoff. A deterministic tie-break makes reports easier to compare across runs.
Refs #293.
On Windows,
cargo test --locked -p victory-gpu --features diagnostics pipeline::testspassed 3 tests.git diff --checkand the staged asset-policy check passed.@jeremygold02 on GitHub · 2026-11-24 04:26 UTC · original · edited 2026-11-24 04:32 UTC
Tested PR #356 at head
efb3e3d3da6deb6aa61e2e5efb7ded4af358d233(state at test time: OPEN). Pre-comment refresh: state OPEN, head unchanged atefb3e3d3da6deb6aa61e2e5efb7ded4af358d233.cargo test --locked -p victory-gpu --features diagnostics pipeline::— passed (ok. 6 passed; 0 failed; 0 ignored; 0 measured; 40 filtered out; finished in 0.55s ); cases: pipeline::library::tests::names_change_with_what_goes_into_the_pipeline, pipeline::tests::skip_hashes_accepts_full_hashes_only, pipeline::tests::pipelines_keep_their_shaders, pipeline::tests::streams_yield_their_shaders, and 2 more.Behavior covered: The pipeline test module passed, but these tests do not assert the new equal-count ordering in
take_drops; this run verifies the surrounding diagnostics module builds and its six existing tests pass.Code: crates/victory-gpu/src/pipeline.rs