Dropped draws and dispatches counted by reason, logged with the frame line #3745

Closed
github-bot wants to merge 1 commit from github-bot/gh-3745 into main AGit
Owner

@⁠stasadance on GitHub · 2026-11-30 05:51 UTC · original
stasadance:diag/drop-reasons → main · +134 −10 · 1 files · 1 commits · closed without merging

What it changes

The frame line said how many draws or dispatches were dropped, but not why. They are now counted by reason ("no host pipeline", "pipeline of another kind", "index buffer without a host copy", "no slots for a fresh table", "structure builder off", "skipped" and the rest of the drop sites in draw.rs) and logged with the frame line, in every build, not only diagnostics.

How it was tested

  • GPU and profile: RTX 4090 on Linux (NVIDIA 620.73.04, kron4ek Wine 11.23, vkd3d-proton GE cae8353ed), DLSS + frame generation 2X
  • Before: "dropped 619 draws or dispatches" with nothing to say which; it read like missing cars while driving.
  • After: in a later driving session, the counts showed almost all of them were the ray-tracing structure builder's passes, left out on purpose, which ruled the cars out.
  • cargo test passed for the crates it touches: native cargo test cannot build victory-gpu on a Linux host (same on main), so no; cargo xwin clippy for the Windows target adds no warning over current main.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: #2496, #2475 (the frame line's draws wording).
**@⁠stasadance** on GitHub · 2026-11-30 05:51 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3745) `stasadance:diag/drop-reasons` → `main` · +134 −10 · 1 files · 1 commits · closed without merging ## What it changes The frame line said how many draws or dispatches were dropped, but not why. They are now counted by reason ("no host pipeline", "pipeline of another kind", "index buffer without a host copy", "no slots for a fresh table", "structure builder off", "skipped" and the rest of the drop sites in `draw.rs`) and logged with the frame line, in every build, not only diagnostics. ## How it was tested - GPU and profile: RTX 4090 on Linux (NVIDIA 620.73.04, kron4ek Wine 11.23, vkd3d-proton GE cae8353ed), DLSS + frame generation 2X - Before: "dropped 619 draws or dispatches" with nothing to say which; it read like missing cars while driving. - After: in a later driving session, the counts showed almost all of them were the ray-tracing structure builder's passes, left out on purpose, which ruled the cars out. - `cargo test` passed for the crates it touches: native `cargo test` cannot build `victory-gpu` on a Linux host (same on main), so no; `cargo xwin clippy` for the Windows target adds no warning over current main. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: #2496, #2475 (the frame line's draws wording).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 05:57:14 +00:00
github-bot force-pushed github-bot/gh-3745 from f453a07a89 to d3f3a77633 2026-12-01 02:58:54 +00:00 Compare
github-bot closed this pull request 2026-12-01 18:51:23 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-12-01 18:49 UTC · original

Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

**@⁠trustno1-coder** on GitHub · 2026-12-01 18:49 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3745#issuecomment-7321607082) Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

Pull request closed

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/trustno1-coder--VIctory-NVIDIA!3745
No description provided.