Clear stale constant-buffer descriptors on null writes #446
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from avatarmanz/VIctory-7900XTX. Originally posted by UwUCammie on 2026-11-27T09:33:18Z.
A 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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.