Keep every rebound stride buffer alive until the recorded list completes #277
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/gamingwithhomie--larp!277
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-277"
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?
@yyc160 on GitHub · 2026-12-05 22:27 UTC · original
yyc160:fix/retain-rebound-strides→main· +39 −4 · 3 files · 1 commits · merged 2026-12-05 22:51 UTCThe stride table is owned by the current view heap; a recorded bind uses its GPU address even if the title replaces and releases that heap before submission.
heap_bufferskept only the first stride buffer in a list: the once-per-list refresh guard returned early for all subsequent heaps.Keep the new table on cache misses before the shared sweep guard.
HostList::keepalready deduplicates holds, and unchanged binds still return from the fast cache. This does not add a second full heap refresh.Regression check: bind two real D3D12 view heaps to one list and check both tables remain referenced until the list is released. No game data.
AI-assisted by GPT-6.2 Astra.