Direct mesh dispatches (DispatchMesh, DispatchMeshX without an argument address) are dropped on the native host #356
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS#356
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?
@tiagonogueiraa-bit on GitHub · 2026-11-27 13:46 UTC · original
docs/ROADMAP.md(section 5) lists this as open: on the native host, direct mesh dispatches are still dropped.What happens.
DispatchMesh(method slot 0x3f8) is routed todropped_mesh.DispatchMeshX(0x310) with no argument address goes todropped_mesh_x.mesh=on the "native draws so far" line) and warn once:native host drops work: a mesh dispatch.glue::execute_indirect→NativeList::dispatch_mesh_indirect.NativeList::dispatch_mesh(x, y, z)exists too, andmesh_testsuses it, but nothing on the title path calls it.list.rsmarks it as a shortcut: "route them toMetalList::dispatch_meshwhen a mesh pipeline needs them".How often. The log attached to #344 (M3 Pro, Series S,
c5d7f4d0) showsmesh=0through frame 1984, andmesh=5at frame 2048 in the prologue. So it is rare, but it happens in the world, and each one is a mesh draw that never runs.Plan.
glue::graphics(.., mesh = true)pipeline check, thendispatch_mesh(x, y, z). Like the D3D12 host'sdispatch_mesh_x,DispatchMeshXtakesxgroups, and flags and payload are ignored. That is a guess, marked as one.an_indirect_dispatch_mesh_x_draws_the_groups_its_record_holds: one group colours the target, and zero groups draw nothing.@tiagonogueiraa-bit on GitHub · 2026-11-27 13:46 UTC · original
/claim
@github-actions[bot] on GitHub · 2026-11-27 13:47 UTC · original
Claimed by @tiagonogueiraa-bit. Open a draft pull request with
Refs #353in its description within 24 hours, or the claim expires.github-bot referenced this issue2026-11-27 14:08:06 +00:00
@LakshanSivakumar on GitHub · 2026-11-28 00:35 UTC · original
Thank you. DispatchMesh and DispatchMeshX without an argument address now run, through the same pipeline check the indirect form uses (#357, on main). DispatchMeshX runs [x, 1, 1] groups; that is a guess about the console and it is marked in the code. I saw no game run with the direct dispatches (mesh=5 in the #344 log), so I do not know how many draws it gives back. Closing; please reopen if
mesh=still grows ona6a58361with "native host drops work: a mesh dispatch" in the log.