Emits the WGSL module for graph — both stages plus the binding metadata
the store builds layouts and pipelines from.
Pure and deterministic: the same graph emits the same bytes, every time, on
every platform (§33 — pinned by tests/determinism/'s
node-material-wgsl.json golden, beside the GLSL emitter's). Validation is
analyzeShaderGraph's and throws its RangeError for a malformed graph; a
graph that validates always emits.
Emits the WGSL module for
graph— both stages plus the binding metadata the store builds layouts and pipelines from.Pure and deterministic: the same graph emits the same bytes, every time, on every platform (§33 — pinned by
tests/determinism/'snode-material-wgsl.jsongolden, beside the GLSL emitter's). Validation isanalyzeShaderGraph's and throws itsRangeErrorfor a malformed graph; a graph that validates always emits.