GPU: count skipped descriptor table slots once per page #1128
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!1128
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1128"
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?
@UwUCammie on GitHub · 2026-11-25 20:58 UTC · original
UwUCammie:pr/count-tabled-per-page→main· +5 −1 · 1 files · 1 commits · openIn the prison scene the descriptor scan skips roughly 180k recently tabled records per frame. Each skip updates the same atomic statistics counter while the copied-record lock is held. Count skips locally and add the page total after releasing the lock. The single-record path keeps its existing accounting.
I timed the change on an RX 7900 XT, RADV 26.3.1, Wine 11.22 and vkd3d-proton. Two 480 s scripted runs used the same instrumented local stack with #1043, parallel heap scanning and relay 2. The medians below cover seconds 270–390, before the next scripted input.
The two runs had slightly different workloads. The frame-time difference is small, and the parallel scan on this stack can benefit more than the serial scanner on main. This patch can land independently.
All 18 descriptor-host tests passed under Wine on the PR branch. On the instrumented stack, 31 descriptor-host, 12 watch and 6 plain-copy tests passed. A separate Windows Event Log subscription test fails under Wine on both this branch and its unmodified base.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.