GPU: indirect mesh dispatches run as an indirect execution of one record #1748
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1749"
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 Marvisak/VIctory. Originally posted by bemalinho on 2026-11-24T21:59:02Z.
DispatchMeshX with its group counts in GPU memory was dropped; it now runs through the host's indirect execution as one mesh dispatch record (x, y, z), like the title's ExecuteIndirect mesh signature. Not yet checked against the title (marked as a shortcut).
Imported from Marvisak/VIctory. Originally posted by acetonahard-code on 2026-11-24T22:36:49Z.
Heads-up: this is the third open PR for this fix. #24 (opened yesterday) and #1546 (earlier today) also run indirect
DispatchMeshXthroughexecute_indirectinstead of dropping it. All three conflict inlist.rs, so only one can land as-is.Tested on Windows 11, RTX 4070 SUPER (driver 621.14), with the repo toolchain, merged into current
main(70564ae):cargo test -p victory-gpumainmain+ this PRmain,--all-featuresmain+ this PR,--all-featurescargo clippy --all-targets -- -D warnings, with and without--all-features: clean.victory-gputests fail on currentmainon this NVIDIA card:dynamic_slots_are_held_until_released,lists_share_a_table_and_copies_keep_their_views. That's the 1,000,000-view heap cap, see #1744. They fail the same way with this PR, and no other test does.I didn't test with game data.
Tested locally with an AI-assisted script (Claude Code); I checked the results before posting.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T03:37:04Z.
Automated triage for the maintainers.
Needs work. This routes an indirect
DispatchMeshXthroughState::execute_indirectas one 12-byte mesh record, and the call matchesmain's signature. Two things are missing: evidence (the title's code, or a public reference) that the record is three u32 group counts and thatxis unused then (the comment marks this as a shortcut), and a test. This is also the third open PR for the same change: #1546 (rebased on currentmain, with a test) and #24 do the same inlist.rs, and all three conflict. Please agree with those authors on one PR, and add the evidence and a test there. CI has not run (it needs approval).Generated by 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.