Clear stale constant-buffer descriptors on null writes #446
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!446
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-446"
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-27 09:33 UTC · original
UwUCammie:fix/avatar-main-null-cbv→main· +48 −5 · 3 files · 1 commits · openA null
CreateConstantBufferViewnow replaces the previous title descriptor. Empty views take the existing typed-null path before the runtime looks for a shadow buffer. Dynamic tables use that same path, including when scratch storage is unavailable, so the old host resource and raw twin are cleared together.Adapted from fxceless #304 for this branch’s descriptor heap.
Tested the exact head
82313d59with Windows MSVC under Wine 11.22 on an RX 7900 XT, RADV 26.3.1 and vkd3d-proton71cae091b06571e. Both title descriptor formats passed, and the physical device test verified that writing null removes the old buffer and its raw twin. The executable and PDB matched 111 runtime source checksums. Wine test resultsView 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.