Late fills: with VICTORY_TEAM_FAST=1, fills of upload memory that only wait for flights are made on a thread of ours behind a queue fence, not waited on the submitting thread (off by default) #1849
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!1849
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1849"
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?
@101Leafy on GitHub · 2026-11-29 00:45 UTC · original
101Leafy:nv/fill-beside→main· +205 −20 · 10 files · 4 commits · merged 2026-11-29 08:16 UTCWhen a submission's only reads of memory that flights may still write are fills of upload memory, the submitting thread waits until those flights land before it sends.
With VICTORY_TEAM_FAST=1 (and only together with the exact and copy relays), such a submission is prepared without those fills and sent behind a wait on a fence of ours. A thread of ours waits for the landings, makes the fills, and signals the fence. The card still reads the fills only once they are made, and the title's thread goes on. The fetches that land the flights go over the copy queue, not behind that wait.
What can go wrong: a fill takes the title's bytes as they are once the flights landed, not as they were at submission, so anything the title wrote there in between is read too (for example a view's constants a frame early). That is why it is off by default.
29c4250300to4dcd64608c