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

Closed
stasadance wants to merge 1 commit from upstream-pr/3745 into main
stasadance commented 2026-11-30 05:51:46 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by stasadance on 2026-11-30T05:51:46Z.


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).
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5559834548 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3745). Originally posted by [stasadance](https://github.com/stasadance) on 2026-11-30T05:51:46Z. --- ## 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).
trustno1-coder commented 2026-12-01 18:49:10 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-12-01T18:49:10Z.


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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7321607082 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3745#issuecomment-7321607082). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-12-01T18:49:10Z. --- 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

Sign in to join this conversation.
No reviewers
No labels
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.

Reference
trustno1-coder/VIctory-NVIDIA!3745
No description provided.