Oh, I forgot the vertex buffer. The actual render commands were:
[ComputeEncoder]
Generate a vertex buffer VB and an indirect buffer IB.
updateFence F.
[RenderEncoder]
waitForFence F. // which stage?
drawPrimitives with VB and IB.
Does waiting before MTLRenderStageVertex also wait before vertex buffer consumption?
Post
Replies
Boosts
Views
Activity
The feedback ID is FB13596255, by the way, is there any detailed documentation on how to use those metal command line tools? I've never known that metal.exe can generate .lib files directly without using metallib.exe.