GPU: indirect mesh dispatches run as an indirect execution of one record #1749
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!1749
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@bemalinho on GitHub · 2026-11-24 21:59 UTC · original
bemalinho:gpu-indirect-mesh-dispatch→main· +28 −5 · 1 files · 1 commits · openDispatchMeshX 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).
@acetonahard-code on GitHub · 2026-11-24 22:36 UTC · original
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.
@Marvisak on GitHub · 2026-11-25 03:37 UTC · original
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.