The specification is written using Bikeshed with diagrams generated using Mermaid.
To install the necessary tools, run:
./tools/install-dependencies.sh bikeshed diagrams wgsl
Alternatively, invoke pip3
/npx
directly, using the commands in that script.
If Bikeshed is not installed locally, the Bikeshed API will be used to generate the specification (this is generally slower).
To generate the specification and webgpu.idl
, type:
make
When the specification is generated, it is written to index.html
.