Post

Replies

Boosts

Views

Activity

Comment on How to use fence for indirect draws?
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?
May ’22