top | item 40380236

(no title)

daredevildave | 1 year ago

I can't wait for compute shaders to be widely available on the web!

discuss

order

jsheard|1 year ago

Any idea how close Apple is to shipping stable WebGPU? They are the main bottleneck in terms of marketshare, Chrome has shipped it on Windows and Android already.

edgedeveloper44|1 year ago

Hopefully it will release later this year to coincide with iOS 18. As other commenters have mentioned, it's already available for developer testing.

koolala|1 year ago

Linux is missing it too. And WebGL2 beats WebGPU on all GPU performance benchmarks.

givinguflac|1 year ago

It’s in advanced safari iOS feature flags right now, and has been for a while. It works on the demos for PlayCanvas, but I can’t speak to long term stability .

kamikazeturtles|1 year ago

What sort of things will compute shaders on the web unlock that wasn't possible before? Asking as someone with only a little graphics programming experience

daredevildave|1 year ago

They unlock a lot of advanced graphics techniques that are too slow to do CPU-side but work well in parallel on GPU. It's a pretty wide variety of things, but e.g. lighting, mesh manipulation, terrain, voxels, post-processing.

ovenchips|1 year ago

I think you'll begin to see more advanced particle systems and physical simulations for a start. And 3D Gaussian Splatting will probably benefit too (since compute will probably enable much faster sorting of splats). So it's not really that this stuff wasn't possible before...but compute will enable these techniques to run far faster.

h4x0rr|1 year ago

Better crypto miners in the browser

Eduard|1 year ago

With WebGPU, Stable Diffusion in the browser (watch out, once you click the "Generate" button, it will fetch 2 GByte of daaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaata) (and probably make your laptop hang whiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiile generating, as you can tell by my typing).

https://websd.mlc.ai/