flowchart TB
subgraph enc["one MTL4 render encoder, one tessellated draw"]
direction TB
vs["1 vertex shader
points, rasterization off
writes records"] -- "barrier
vertex → object" --> hs["2 hull shader
object function
control points, factors"]
hs -- "barrier" --> cnt["3 tessellator
object functions
count → prefix → emit"]
cnt -- "barrier
object → vertex" --> ds["4 domain shader
vertex function
indexed indirect draw"]
ds --> ps["pixel shader
render targets"]
end
note["Metal: no hull stage, no isolines,
no point output; a compute
encoder would split the pass"] -.-> enc