Direct mesh dispatches (DispatchMesh, DispatchMeshX without an argument address) are dropped on the native host #353
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 LakshanSivakumar/Native-Victory-macOS. Originally posted by tiagonogueiraa-bit on 2026-11-27T13:46:53Z.
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 #343 (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.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by tiagonogueiraa-bit on 2026-11-27T13:46:54Z.
/claim
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-27T13:47:05Z.
Claimed by @tiagonogueiraa-bit. Open a draft pull request with
Refs #353in its description within 24 hours, or the claim expires.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-28T00:35:51Z.
Thank you. DispatchMesh and DispatchMeshX without an argument address now run, through the same pipeline check the indirect form uses (#354, 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 #343 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.