GPU: track changed buffer descriptor slots with reusable bitsets #1187
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by UwUCammie on 2026-11-25T23:18:09Z.
The 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
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.