Waits: VICTORY_WAIT_SHARE=1 leaves out a title full wait when only bindings were made since the last one #1851
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-11-29T00:46:32Z.
Adds 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.