|
|
|
|
|
by mistercow
567 days ago
|
|
I think there is a compelling reason to have WGSL as a separate language (but maybe not sufficiently compelling): WebGPU is a lowest common denominator which can only have features which are in the intersection of its target platforms, and so WGSL has no “dead syntax” to memorize. If the language spec says it’s there, you can use it, and you won’t find examples online of code that just won’t work in WebGPU because of missing features. Of course, the f16 extension immediately weakens that, and demonstrates that this situation probably won’t last. |
|