GPU diagnostics: order tied drop counts consistently #356

Manually merged
github merged 1 commit from gh-pr/356/head into gh-pr/356/base 2026-11-26 04:00:31 +00:00
Owner

@⁠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 UTC

Rank 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::tests passed 3 tests. git diff --check and the staged asset-policy check passed.

**@⁠FIocker** on GitHub · 2026-11-24 02:34 UTC · [original](https://github.com/Marvisak/VIctory/pull/356) `FIocker:gpu/stable-drop-rank` → `main` · +3 −1 · 1 files · 1 commits · merged 2026-11-24 08:02 UTC Rank 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::tests` passed 3 tests. `git diff --check` and the staged asset-policy check passed.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:00:29 +00:00
github manually merged commit efb3e3d3da into gh-pr/356/base 2026-11-26 04:00:31 +00:00
Author
Owner

@⁠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 at efb3e3d3da6deb6aa61e2e5efb7ded4af358d233.

  • 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

**@⁠jeremygold02** on GitHub · 2026-11-24 04:26 UTC · [original](https://github.com/Marvisak/VIctory/pull/356#issuecomment-7122020477) · 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 at `efb3e3d3da6deb6aa61e2e5efb7ded4af358d233`. - `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](https://github.com/Marvisak/VIctory/blob/efb3e3d3da6deb6aa61e2e5efb7ded4af358d233/crates/victory-gpu/src/pipeline.rs)
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!356
No description provided.