Descriptor heaps: discard deferred sampled wakes when a heap retires #3124
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!3124
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3124"
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?
@Heldenkrieger01 on GitHub · 2026-11-29 20:07 UTC · original
Heldenkrieger01:t3/deferred-texture-heap-wake→main· +113 −50 · 2 files · 1 commits · openA 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.
4b339424e0to88e6d8a01288e6d8a012tob550b5f585b550b5f585tocc95f2761acc95f2761ato51e51d3372View 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.