Tour of WGSL

Entry Points

Functions annotated with @vertex, @fragment or @compute are shader entry points.

Entry point names are not special, but must match the entryPoint name specified at pipeline creation time.

A WGSL module can contain multiple shader entry points.