WebGPU is "around the corner". Apple/Mozilla/Google/Microsoft are all working on it. Google and Mozilla will ship it. Apple and Microsoft remain to be seen.
WebGPU is "around the corner". Apple/Mozilla/Google/Microsoft are all working on it. Google and Mozilla will ship it. Apple and Microsoft remain to be seen.
Agree on WebGL2, it seems unlikely that they'll want to commit to supporting it forever with WebGPU on the horizon. Plus Edge will probably not add support until switching to Chromium, so WebGL2 will probably never have a chance to be supported by all browsers until WebGPU is taking off anyway.
So I wouldn’t write off WebGL2 quite yet. Though I agree that it’s been stuck ‘around the corner’ for several years now.
It's supported in safari, currently gated behind a setting though.
Apple added a flag. They didn't add an implementation. There is zero code in WebKit to support WebGL2. All there is is a stub that returns a WebGL1 context when WebGL2 is asked for. Feel free to dig through the WebKit code. You'll see there is no WebGL2 code, all the functions are actually missing and no code has been added in > 3yrs. Try running the tests. (https://www.khronos.org/registry/webgl/sdk/tests/webgl-confo...), click off "all" then search for "conformance2", check the box and run. You'll see almost nothing passes.