GPU: VICTORY_QUIET_WAITS leaves out title and clamp waits after nothing that writes #1776
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1776"
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:03:47Z.
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.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-29T08:28:29Z.
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.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.