GPU: place shared bindless buffer refreshes in submission order #3931
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!3931
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@Yoruiopz on GitHub · 2026-11-30 12:03 UTC · original
Yoruiopz:ordered-bindless-refresh-05→main· +293 −32 · 4 files · 1 commits · closed without mergingWhat 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
@trustno1-coder on GitHub · 2026-12-01 18:47 UTC · original
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