Compare descriptor records at their fixed slot widths #3038
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!3038
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3038"
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?
@Brazzo978 on GitHub · 2026-11-29 19:41 UTC · original
Brazzo978:perf/fixed-width-descriptor-records→main· +38 −9 · 1 files · 1 commits · openWhat it changes
The descriptor heap refresh still skips equal blocks of 16 records. For the blocks that differ, fixed-width arrays let the compiler compare and copy entire 16-byte sampler and 32-byte view records. Changed slot indices remain ordered, and an incomplete trailing record is left alone.
How it was tested
I compiled the comparison code with Rust 1.98.1 MSVC on a Ryzen 7 5800X3D running Windows 10. The three focused tests passed in debug and release. The differential test covered 1,760 cases, including partial tails, with the original implementation as the reference.
Median time per synthetic 4 KiB page
These times cover the CPU compare and copy only. Gameplay frame time for this patch has not been measured.
The two focused
victory-gpucrate tests passed on Windows MSVC, including the partial-tail regression.Checked for overlap
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.