Skip to content

nolanderc/wgsl-spec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machine Readable Spec for WGSL (WebGPU Shading Language)

This repo contains scripts for scraping the WGSL spec and produces a set of JSON files in the spec/ directory:

  • spec/tokens.json: keywords and special names.
  • spec/functions.json: information about builtin functions, complete with signatures and documentation.

Building

You can download the most recent spec by running:

./x update-upstream

And then to regenerate the JSON files:

./x run

About

Machine-Readable WGSL Specification

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages