GPU: release dynamic descriptor slots only to the host heap that allocated them #28
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/trustno1-coder--VIctory-NVIDIA!28
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-28"
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?
@wike1701 on GitHub · 2026-11-27 09:05 UTC · original
wike1701:fix/dynamic-slot-heap-identity→main· +54 −21 · 3 files · 1 commits · merged 2026-11-27 09:45 UTCPort of fxceless/victory-fork#1324 (commit \52ac4ec, GPL-3.0).
Problem
\draw::State::dynamic\ tracks dynamic descriptor slot ranges by the title heap's pointer address, and \descriptor::release_dynamic\ releases them on whichever \HostHeap\ is currently registered at that address when a command list is reset or dropped. If the title releases a shader-visible heap while lists referencing it are still alive and a new heap is allocated at the same address, resetting the older list frees dynamic slots belonging to the new heap. On NVIDIA (where \VICTORY_DYNAMIC_SLOTS=524288\ is enabled by default), two live command lists can then collide on the same dynamic slots.
Fix
Verification