GPU: track changed buffer descriptor slots with reusable bitsets #1190
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!1190
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1190"
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 23:18 UTC · original
UwUCammie:perf/ordered-buffer-slot-bits→main· +76 −4 · 1 files · 2 commits · openThe first-room heap pass inspects about 43,000 buffer slots per frame on my RX 7900 XT. Membership updates currently touch a B-tree and a hash set, and draining the changed set drops its allocation. The descriptor indices already fit within the heap. This keeps one bit per slot in each set, returns changed slots in ascending order, and retains the allocation across drains.
I ran all 19 descriptor-host tests under Wine 11.22. A native 9700X benchmark with 83,000 live descriptors and 43,000 writes per frame took 73.56 ms with the original sets and 2.53 ms with the bitsets over 16 frames (medians of eight alternating pairs). With only 16 writes per frame over 48 frames, the medians were 0.38 and 0.51 ms. The integration run in the first room averaged 9.04 FPS at 4,844 draws/frame, within the range of the controls.
Benchmark source and commands
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.