gpuweb
gpuweb copied to clipboard
Clarify scope of pipeline creation
Fixes #4648
- Clarify that pipeline-creation only includes the code encompassed by the shader interface of the entry point being compiled
- Clarify that value substitution occurs before override-expression evaluation
- Add examples of potential errors
- Clarify pipeline-creation errors only occur for the portion of the module being compiled
I made this draft until @jimblandy checks his implementation and signs off on #4648.
Previews, as seen when this build job started (ddcfee5b6acd808248e10e30b4f1051881a8c59d):
WebGPU webgpu.idl | Explainer | Correspondence Reference
WGSL grammar.js | wgsl.lalr.txt