You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I implemented RenderBundle very roughly using ICB and could only run the msaa-line example: jinleili@6dce2b8
Using ICBs, MTLRenderPipelineDescriptor must set supportIndirectCommandBuffers to TRUE, but when this reusable pipeline used on normal draw call will cause error:
Internal error in VERTEX | FRAGMENT | VERTEX_FRAGMENT shader: new_render_pipeline_state: "Fragment shader cannot be used with indirect command buffers"
I don't know how to do it properly,is recreate pipeline object inside RenderBundle achievable and acceptable?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I implemented RenderBundle very roughly using ICB and could only run the msaa-line example:
jinleili@6dce2b8
Using ICBs,
MTLRenderPipelineDescriptor
must set supportIndirectCommandBuffers to TRUE, but when this reusable pipeline used on normal draw call will cause error:I don't know how to do it properly,is recreate pipeline object inside RenderBundle achievable and acceptable?
Beta Was this translation helpful? Give feedback.
All reactions