DispatchMeshX with indirect arguments is silently dropped #756
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Conrage on 2026-11-24T09:36:59Z.
crates/victory-gpu/src/list.rs:1082-1086: whenindirect != 0,dispatch_mesh_xlogs "indirect mesh dispatches dropped" once and returns. The world runs on mesh pipelines, so any GPU-driven mesh dispatch draws nothing.Suggestion: route it through
State::execute_indirectwith kindMESH(10). That path already supports mesh dispatches, including the argument clamp (draw.rs:961-1055,indirect.rs).Testers: does "indirect mesh dispatches dropped" appear in the log after entering the world?
AI use: found and written with Claude from reading the code at
8e79c80; not run on hardware.Imported from Marvisak/VIctory. Originally posted by Altorru on 2026-11-24T09:51:36Z.
This is already implemented by #24 (
DispatchMeshXindirect ->State::execute_indirect, mesh kind 10 / stride 12, with unit tests and WARP/hardware feedback). Worth tracking there rather than opening a second branch.Imported from Marvisak/VIctory. Originally posted by Conrage on 2026-11-24T09:53:01Z.
Thanks, agreed: open PR #24 already routes indirect
DispatchMeshXthroughexecute_indirect. Closing as a duplicate.Imported from Marvisak/VIctory. Originally posted by RID-Games on 2026-11-24T10:07:34Z.
A fix already exists:
fix/gpu-indirect-mesh-dispatch([f7a0949](https://github.com/LAKSHYA-cmd-tech/VIctory/commit/f7a0949)) in the LAKSHYA-cmd-tech fork routesdispatch_mesh_xthroughState::execute_indirectwith kind MESH (10), stride 12 — exactly the approach suggested here — and adds a routing test. I cannot compile victory-gpu on Linux to verify; Windows testers can check whether "indirect mesh dispatches dropped" disappears from the log after entering the world. AI-assisted.