Indirect compute records past the host's group limit run in pieces too (on top of #976); the group base goes to the group id only #1222
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!1222
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1222"
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?
@Steenax6 on GitHub · 2026-11-26 00:30 UTC · original
Steenax6:pr/dispatch-pieces-indirect→main· +615 −80 · 9 files · 2 commits · openWhat
#976 (MoscaLosca, open) runs direct dispatches of more than 65,535 thread groups in pieces. This adds the indirect case, which is the one we hit, and one correction to the translated program.
In the first room a band along the bottom of the picture held stale blocks, old tiles of earlier frames, in the scene target and in several history targets (it looks like HUD garbage; it is not HUD). A compute pass of the title's indirect lighting is run by an indirect record that asks for about 74,816 thread groups in x. A host dispatch runs 65,535, and the argument clamp cut the record there, so the last tiles of the list, the bottom of the screen, were never written. About 1.2 such records a frame.
Commits
4aa6e8cwith MoscaLosca as author (two conflicts, both "keep both sides"). This branch is stacked on it; if #976 is merged first this commit drops out.VICTORY_GROUP_PIECEStimes (2 by default, at most 16), piece p holdingclamp(x - p * 65535, 0, 65535)groups, and the execution is recorded once a piece with that piece's group base (USER_GROUP_BASE). No count is read back. All pieces of a record charge the list's budget as one.VICTORY_GROUP_SPLIT=0.VICTORY_INDIRECT_GATHER=1), so the gather pass gets one piece and is otherwise unchanged.Measured (in our tree, Steenax6/VIctory-NVID ac7664d, RTX 4070 Ti)
The largest count asked for is 74,816; the records over the limit run whole and the band is gone. No cost in frame time (88.7 ms with two pieces, 87.6 with one).
What I can and cannot say for this tree
4aa6e8c: both clippy runs of the CI give exactly the warningsmaingives, none new.cargo test --workspace --locked:victory-shaderpasses with the extended group-base test, and a new WARP test runs a record of 70,000 groups in two pieces and in one. Failing and not from this change:xtaskrepository_passes_policy(two files underdiagnostics/onmainare over the size limit) and one of two WARP tests inwatch.rs/inplace.rs, a different one in each run.🤖 Generated with Claude Code
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.Merge
Merge the changes and update on Forgejo.