Keep every rebound stride buffer alive until the recorded list completes #277

Manually merged
github merged 1 commit from github-bot/gh-277 into gh-pr/277/base 2026-12-06 00:55:40 +00:00 AGit
Owner

@⁠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 UTC

The 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_buffers kept 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::keep already 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.

**@⁠yyc160** on GitHub · 2026-12-05 22:27 UTC · [original](https://github.com/gamingwithhomie/larp/pull/277) `yyc160:fix/retain-rebound-strides` → `main` · +39 −4 · 3 files · 1 commits · merged 2026-12-05 22:51 UTC The 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_buffers` kept 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::keep` already 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 22:29:35 +00:00
github-bot changed target branch from main to gh-pr/277/base 2026-12-05 22:53:20 +00:00
github-bot referenced this pull request from a commit 2026-12-06 00:55:31 +00:00
github manually merged commit a3eef6663d into gh-pr/277/base 2026-12-06 00:55:40 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.