Indirect DispatchMeshX is dropped #290
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 m0rff on 2026-11-27T09:01:29Z.
DispatchMeshX(x, flags, indirect, payload)(list method 0x310) with a non-zero argument address is thrown away on both hosts:crates/victory-gpu/src/list.rs,state::dispatch_mesh_x, returns after warning once with "indirect mesh dispatches dropped".drawstub, so nothing is logged. Direct mesh dispatches (0x3f8 and 0x310 with no address) are dropped the same way, and themesh/mesh_indirectcounters in "native draws so far" stay at 0.ROADMAP section 5 lists it: "Mesh-shader pipelines: indirect mesh dispatches still drop."
Plan: run an indirect
DispatchMeshXas a one-record meshExecuteIndirect, through the paths both hosts already have (State::execute_indirectkind 10;glue::execute_indirectwithCommand::DispatchMesh). GPU addresses are title addresses, so the argument address is used unchanged. Guess, to be marked in the code anddocs/native-host.md: the record isD3D12_DISPATCH_MESH_ARGUMENTS(12 bytes) andxis unused when the address is set. On the native host, direct mesh dispatches stay dropped, but they are counted and warned once.Not known to be related to #258 (there the mesh records come through
ExecuteIndirectand hold zero counts upstream of the draw).Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by m0rff on 2026-11-27T09:01:34Z.
/claim
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-27T09:01:46Z.
Claimed by @m0rff. Open a draft pull request with
Refs #290in its description within 24 hours, or the claim expires.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by m0rff on 2026-11-27T10:47:24Z.
Done in #291 (merged).