Waits: VICTORY_WAIT_SHARE=1 leaves out a title full wait when only bindings were made since the last one #1851
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!1851
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1851"
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:46 UTC · original
101Leafy:nv/wait-share→main· +141 −4 · 3 files · 2 commits · merged 2026-11-30 14:12 UTCAdds VICTORY_WAIT_SHARE, off by default. With VICTORY_WAIT_SHARE=1, a full wait of the title (a barrier on buffers, a pipeline sync or a barrier group) is left out when the call recorded before it on the same host list was a full wait too, with only bindings in between: pipelines, tables, views, constants and fixed function state. No shader ran between the two that the second wait could order.
This works only in lists whose calls are written down, where every call between the two waits is seen. Work of ours run from such a stream ends the run of bindings. Diagnostics builds count the waits left out in a new WaitsLeftOut counter on the waits log line.
This builds on #1776 (VICTORY_QUIET_WAITS), which it shares code with, so it holds that commit too.
827e101329to2f4cf9c5192f4cf9c519to5836f8ea40VICTORY_GPU_TIMES) #2735