GPU: count skipped descriptor table slots once per page #1125
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by UwUCammie on 2026-11-25T20:58:07Z.
In 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
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.