GPU: keep dropped draws in the full frame reporting interval #1709
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1710"
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?
Imported from Marvisak/VIctory. Originally posted by zhaibingye on 2026-11-24T21:03:50Z.
Related to #293 and #1697. The one-second caption update drains the counters before the five-second frame report can log them. An early burst can disappear from the shader drop ranking. Use separate caption and report windows and drain counters only when logging.
Reproduced with the real meter in a Windows test binary under Wine 10. Across 20 presentations, inject 30 early drops of one kind and 2 late drops of another. Main omitted the early reason and reported 0.3 late drops/frame. The fix reports 1.5 and 0.1 drops/frame. For 32 MB of copies, the reported volume also changed from 0.3 to the expected 1.6 MB/frame.
Added an irregular-frame regression test. Windows GNU diagnostics suite under Wine: 54 passed, 1 ignored. Default and all-feature Clippy and asset policy passed. No game run.
AI assistance: OpenAI Codex.
Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-24T22:19:57Z.
Review: COMMENTED
Static review only: victory-gpu is Windows-only (D3D12/windows_sys) — nothing compiles or runs on macOS; source review of the diff.
Dropped draws kept in the full frame reporting: frame() tracks activity across caption updates, frame_report_keeps_activity_from_earlier_caption_updates test. 7.8K, host.rs only.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:34:50Z.
Automated triage for the maintainers.
Needs rebase. This pull request conflicts with
main(conflicting:crates/victory-gpu/src/host.rs). It will be reviewed once it is rebased onto the currentmain.Generated by Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.