Waits: VICTORY_WAIT_SHARE=1 leaves out a title full wait when only bindings were made since the last one #1851

Manually merged
github merged 2 commits from github-bot/gh-1851 into main 2026-11-30 14:17:12 +00:00 AGit
Owner

@⁠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 UTC

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.

**@⁠101Leafy** on GitHub · 2026-11-29 00:46 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1851) `101Leafy:nv/wait-share` → `main` · +141 −4 · 3 files · 2 commits · merged 2026-11-30 14:12 UTC 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 00:50:46 +00:00
github-bot force-pushed github-bot/gh-1851 from 827e101329 to 2f4cf9c519 2026-11-29 07:27:11 +00:00 Compare
github-bot force-pushed github-bot/gh-1851 from 2f4cf9c519 to 5836f8ea40 2026-11-29 09:23:18 +00:00 Compare
github manually merged commit 507fd2ae5c into main 2026-11-30 14:17:12 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!1851
No description provided.