WGSL
- Category
- Graphics
- Docs outline
- 8 sections
Official docs outline
w3.org- WGSL specification
The WebGPU Shading Language syntax, types, entry points and built-in functions.
- WGSL at gpuweb
Editor's draft of the WGSL specification.
- Types
Scalar, vector, matrix and struct types.
- Address spaces
function, private, workgroup, uniform and storage spaces.
- Attributes
@group, @binding and @location attributes.
- Built-in functions
Math, texture, atomic and derivative built-in functions.
- Entry points
@vertex, @fragment and @compute entry points and pipeline IO.
- Uniformity
Uniform control flow requirements for barriers and derivatives.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.