4 ms·
Very cool. Shame there's not a webgl fallback though. It will be a couple of years until webgpu adoption is good enough. https://caniuse.com/webgpu https://can
by pier25 9mo ago
Very cool. Shame there's not a webgl fallback though. It will be a couple of years until webgpu adoption is good enough.
https://caniuse.com/webgpu https://caniuse.com/webgpu
- bhouston 9mo agoYou can also see extension support for webgpu via https://web3dsurvey.com/webgpu https://web3dsurvey.com/webgpu
- sroussey 9mo agoIt’s available everywhere if you are on newest OS and newest browser. Biggest issue is MacOS users with newer Safari on older MacOS.
- kawogi 9mo agoSupport for Firefox on Linux is still only in nightly (unless that changed "very" recently) This blocks progress (and motivation) on some of my projects.
- Joeboy 9mo agoApparently you can turn it on with about:config / dom.webgpu.enabled But personally, I'm not going to start turning on unsafe things in my browser so I can see the demo. I tried firefox and chromium and neither worked so pfft, whatever.
- johndough 9mo agoAnd even if WebGPU is enabled, the implementation might still be broken or inefficient in various ways. For example, Firefox uses some ridiculous polling-based approach [1] to check for completion, which disqualifies the implementation for many performance-critical applications. [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1870699 https://bugzilla.mozilla.org/show_bug.cgi?id=1870699 And there is the issue of getting the browser to use the correct GPU in the first place, but that is a different can of worms.
- m132 9mo ago+1 Please support a fallback, ideally a 2D one too. WebGPU and WebGL are a privacy nightmare and the former is also highly experimental. I don't mind sub-60 FPS rendering, but I'd hate having to enable either of them just to see charts if websites were to adopt this library. The web is already bad requiring JavaScript to merely render text and images. Let's not make it any worse.
- dapperdrake 9mo agoWebGL punts to WebGPU for decent compute shaders.