GPU: place shared bindless buffer refreshes in submission order #3931
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3931"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Yoruiopz on 2026-11-30T12:03:50Z.
What it changes
The existing once-per-frame ASIDE gate attaches the buffer refresh to whichever list records first. THIN lists can record in a different order from execution. A list that submits before the recorded owner can therefore use the heap before that frame's refresh has been placed on the queue. The porch trace in #2185 includes seven such submissions.
With VICTORY_HEAP_PASS_ORDERED=1, a host heap shares its existing ASIDE pass across recordings in that frame. Each consumer records its first-use position. After the pass is ready, the first submitted recording that carries the marker consumes it and inserts the refreshes at that position before hazard planning. The readiness wait stays outside the host submission lock. The texture sweep stays with its existing recording owner. This is opt-in and requires ASIDE.
How it was tested
41adb551on Windows. Four focused CPU tests passed, covering reversed recording/submission order, a canceled preparer, reset and reuse, and visibility to the existing alternate-shadow planner. Staged asset policy passed.Checked for overlap
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-12-01T18:47:47Z.
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed