GPU: VICTORY_QUIET_WAITS leaves out title and clamp waits after nothing that writes #1776

Open
github-bot wants to merge 5 commits from github-bot/gh-1776 into main AGit
Owner

@⁠101Leafy on GitHub · 2026-11-29 00:03 UTC · original
101Leafy:nv/quiet-waits → main · +192 −62 · 16 files · 5 commits · open

Adds VICTORY_QUIET_WAITS, off by default. With VICTORY_QUIET_WAITS=1, a full wait for earlier shader writes (a title barrier on buffers, a pipeline sync or barrier group, the wait before a clamp or a batch of clamps) is left out when nothing that writes was recorded in the list since the last one. Dispatches, draws whose shaders store to buffers or textures, copies, clears and resolves count as writes. The first wait in each host list is always kept.

With the switch on, a single clamp also ends on the move of its scratch buffer to indirect arguments without a second wait, since the clamp writes only that buffer and the budget, which it changes by atomics. With the switch off the barriers are the same as before. Diagnostics builds count the waits it would leave out in a new WaitsQuiet counter on the waits log line.

**@⁠101Leafy** on GitHub · 2026-11-29 00:03 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1776) `101Leafy:nv/quiet-waits` → `main` · +192 −62 · 16 files · 5 commits · open Adds VICTORY_QUIET_WAITS, off by default. With VICTORY_QUIET_WAITS=1, a full wait for earlier shader writes (a title barrier on buffers, a pipeline sync or barrier group, the wait before a clamp or a batch of clamps) is left out when nothing that writes was recorded in the list since the last one. Dispatches, draws whose shaders store to buffers or textures, copies, clears and resolves count as writes. The first wait in each host list is always kept. With the switch on, a single clamp also ends on the move of its scratch buffer to indirect arguments without a second wait, since the clamp writes only that buffer and the budget, which it changes by atomics. With the switch off the barriers are the same as before. Diagnostics builds count the waits it would leave out in a new WaitsQuiet counter on the waits log line.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 00:04:37 +00:00
github-bot force-pushed github-bot/gh-1776 from d70d9ef0b9 to 432bca451f 2026-11-29 01:47:59 +00:00 Compare
github-bot force-pushed github-bot/gh-1776 from 432bca451f to 881e119061 2026-11-29 07:27:17 +00:00 Compare
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-29 08:28 UTC · original

Thank you! An earlier version of this pull request was merged into main with its original commits and is part of v2026.11.29.01, where you are credited. GitHub does not show it as merged because new commits were pushed here after that merge. It stays open so those newer commits can be looked at next.

**@⁠trustno1-coder** on GitHub · 2026-11-29 08:28 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1776#issuecomment-7253127392) Thank you! An earlier version of this pull request was merged into main with its original commits and is part of [v2026.11.29.01](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.29.01), where you are credited. GitHub does not show it as merged because new commits were pushed here after that merge. It stays open so those newer commits can be looked at next.
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/copystat.rs
  • crates/victory-gpu/src/draw.rs
  • crates/victory-gpu/src/host.rs
  • crates/victory-gpu/src/host/send.rs
  • crates/victory-gpu/src/indirect.rs
  • crates/victory-gpu/src/indirect/batch.rs
  • crates/victory-gpu/src/list.rs
  • crates/victory-gpu/src/pipeline.rs
  • crates/victory-gpu/src/pool.rs
  • crates/victory-gpu/src/residency.rs
  • crates/victory-gpu/src/resource.rs
  • docs/asset-policy.md
  • xtask/src/policy.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1776/head:github-bot/gh-1776'
git switch 'github-bot/gh-1776'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1776'
git switch 'github-bot/gh-1776'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1776'
git switch 'github-bot/gh-1776'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1776'
git switch 'main'
git merge --squash 'github-bot/gh-1776'
git switch 'main'
git merge --ff-only 'github-bot/gh-1776'
git switch 'main'
git merge 'github-bot/gh-1776'
git push origin 'main'
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!1776
No description provided.