DispatchMeshX with indirect arguments is silently dropped #756
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#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?
@Conrage on GitHub · 2026-11-24 09:36 UTC · original
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.@Altorru on GitHub · 2026-11-24 09:51 UTC · original
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.@Conrage on GitHub · 2026-11-24 09:53 UTC · original
Thanks, agreed: open PR #24 already routes indirect
DispatchMeshXthroughexecute_indirect. Closing as a duplicate.@RID-Games on GitHub · 2026-11-24 10:07 UTC · original · edited 2026-11-24 10:22 UTC
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.