Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
建议不做这层适配器,从使用层面建议分级由易到难地拆分WGSL的文档。
浏览器实现Playground,建立起类似Svelte的操作手册,鼓励用户敢于上手体验。
WGSL目前变化还是比较快的,看到语法的设计上相比较GLSL其实更加易用,如果要适配就要考虑实现的完备程度,一直跟下去对应具体的版本不断迭代,有时甚至是破坏性的。疲于解决不兼容的各种issue,这需要大量的人力维护成本。