6 ms·
WGSL seems to inherit a more rust-like syntax versus GLSL which is similar to C. I think the major advantage of WebGPU over WebGL2/OpenGLES3 is that you can wr
by beeflet 2y ago
WGSL seems to inherit a more rust-like syntax versus GLSL which is similar to C.
I think the major advantage of WebGPU over WebGL2/OpenGLES3 is that you can write GPGPU shaders more easily versus OpenGL's Transform Feedback system which is very clunky. But this comes at a tradeoff of compatibility for the time being.
But in the rust ecosystem at least, WebGPU has taken the role of OpenGLES with libraries like wgpu becoming dominant.
- pjmlp 2y agoWhich is kind of bonkers, settling down on an API designed for sandboxed browser enviornments that isn't able to expose the actual capabilities of any graphics card designed after 2016.