Expand description
Render passes, pipelines, and drawing.
Draws are accumulated into a Batch and submitted together: one geometry
upload, one render pass, one submission for the whole thing. A draw per
submission is fine for a test and hopeless for a frame loop, where the
fixed cost of beginning a pass and waiting on a fence dwarfs the drawing.