Barriers: VICTORY_UAV_FOLD=1 folds a call's unordered access barriers into one on every resource and drops them after nothing that writes, with a census of the title's own (off by default) #1852
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!1852
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1852"
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/uav-fold→main· +284 −10 · 4 files · 3 commits · merged 2026-11-30 14:12 UTCAdds VICTORY_UAV_FOLD, off by default. With VICTORY_UAV_FOLD=1, the unordered access barriers of one title barrier call fold into a single wait on every resource when the call has one already or names a buffer, and none of them is kept when nothing that writes was recorded in the list since our last full wait. Other barriers in the call keep their order.
With the switch off the barriers recorded are the same as before. Diagnostics builds count the title's own unordered access barriers either way (on every resource, on one resource, covered by another in the same call, and after nothing that writes) in four new counters with their own log line. The counter array grows to 96 so these fit next to the other new counters.
This builds on #1851 (VICTORY_WAIT_SHARE) and #1776 (VICTORY_QUIET_WAITS), so it holds their commits too.
2b23b76eaftoed7cf41b78ed7cf41b78to94282db7acVICTORY_GPU_TIMES) #2735