#mesh shaders
Shaders that make geometry on the GPU instead of reading it from a buffer. The work is split into pieces; for each, a group of threads decides how many corners and triangles it needs this frame, works out each corner and lists each triangle by its corners' numbers. A piece can change shape and size from frame to frame, or ask for nothing at all. In Ray Kiln a // @mesh N line makes N pieces of up to 64 corners and 64 triangles each.
1 shader
