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 #1219
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by Steenax6 on 2026-11-26T00:30:24Z.
What
#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
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.