Descriptor heaps: discard deferred sampled wakes when a heap retires #3124

Open
github-bot wants to merge 1 commit from github-bot/gh-3124 into main AGit
Owner

@⁠Heldenkrieger01 on GitHub · 2026-11-29 20:07 UTC · original
Heldenkrieger01:t3/deferred-texture-heap-wake → main · +113 −50 · 2 files · 1 commits · open

A shader can mark an evicted texture slot before its heap retires. If the allocator reuses the heap address before the wake drains, the old event could queue a texture slot on the replacement heap. Related to #2608, which also deals with deferred sampled-slot requeues.

Carry the host heap ID from slot discovery to delivery. Retirement removes tracked and pending entries, and delivery checks the ID under the registry lock for events already in flight.

A synthetic same-address replacement queued slot 7 twice with the ID check bypassed. With the check active, the replacement received its own wake exactly once.

Reviewed with sol-loop: 1 round with GPT-6.2-Sol. Sol verdict: approved.

Created with GPT-6.2-Astra in T3 Code through the Codex harness.

**@⁠Heldenkrieger01** on GitHub · 2026-11-29 20:07 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3124) `Heldenkrieger01:t3/deferred-texture-heap-wake` → `main` · +113 −50 · 2 files · 1 commits · open A shader can mark an evicted texture slot before its heap retires. If the allocator reuses the heap address before the wake drains, the old event could queue a texture slot on the replacement heap. Related to #2608, which also deals with deferred sampled-slot requeues. Carry the host heap ID from slot discovery to delivery. Retirement removes tracked and pending entries, and delivery checks the ID under the registry lock for events already in flight. A synthetic same-address replacement queued slot 7 twice with the ID check bypassed. With the check active, the replacement received its own wake exactly once. Reviewed with sol-loop: 1 round with GPT-6.2-Sol. Sol verdict: approved. Created with GPT-6.2-Astra in T3 Code through the Codex harness.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 20:12:50 +00:00
github-bot force-pushed github-bot/gh-3124 from 4b339424e0 to 88e6d8a012 2026-11-30 14:25:45 +00:00 Compare
github-bot force-pushed github-bot/gh-3124 from 88e6d8a012 to b550b5f585 2026-11-30 14:36:55 +00:00 Compare
github-bot force-pushed github-bot/gh-3124 from b550b5f585 to cc95f2761a 2026-11-30 16:39:54 +00:00 Compare
github-bot force-pushed github-bot/gh-3124 from cc95f2761a to 51e51d3372 2026-12-01 00:40:47 +00:00 Compare
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/3124/head:github-bot/gh-3124'
git switch 'github-bot/gh-3124'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-3124'
git switch 'github-bot/gh-3124'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-3124'
git switch 'github-bot/gh-3124'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-3124'
git switch 'main'
git merge --squash 'github-bot/gh-3124'
git switch 'main'
git merge --ff-only 'github-bot/gh-3124'
git switch 'main'
git merge 'github-bot/gh-3124'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!3124
No description provided.