mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-17 07:09:57 -04:00
pool_refill notes a slot it could not fill (pool_defer), and once the frame's creation time is spent it skips slots noted in that frame. A fill did not clear the note. So a slot left and then filled in the same frame was skipped later in that frame with the filled texture's view still in the set, also after that texture was destroyed: a released texture dropped past the size limit, or one evicted. A shader sampling the slot would then read freed memory. A left slot holds the stand-ins (its lookup resolved to nothing), so with the note cleared on a fill, a skipped slot can only hold those. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 8d04e17a954e640a9ff06baedc3e7614dc978798)
285 KiB
285 KiB