Short question regarding WebGPU; what is the support status and is there a support roadmap somewhere visible?
Just asking this because out of curiosity wanted to try it in my game project, but got bunch of errors while doing nothing but switch from the WebGL engine. I can post some of the errors here but I would prefer to first have a glance of what is supposed to work at the moment
Everything should work as we try to stay in sync with the spec, but it is evolving quickly so until they release a v1 you will get some warnings for features/syntaxes that were once supported but that are now deprecated: fixing them is not too high a priority for us before v1 as they donât prevent the programs running => if you get errors that make your program fail you should post in the forum as it could be a problem on our end.
So, I would advice not using WebGPU as a production ready engine until the WebGPU team releases a v1 (hopefully around september / octoberâŚ).
It seems we would need to generate a new TintWASM version because the one we are using is generating smoothStep (instead of smoothstep) which is not supported anymore. @sebavan : do you know if itâs possible?
Sorry for necromancing this thread buuuut I never got into getting my game project working in WebGPU. And also it seems that there is something wrong with my models and maybe how Babylon handles them? For example, here is an older that Iâve used for testing:
This works with WebGL but not WebGPU. Any idea what gives?
Some of your objects (like cloth) need more than 8 vertex buffers (color, matricesIndices, matricesWeights, normal, position, uv, uv2, uv3, uv4) and WebGPU only supports 8 by defaultâŚ
It will be able to query the limits of the GPU and set higher limits, but itâs not implemented in Chrome yet.
Is there an updated status? I just tried switching to the webgpu engine and all my performance issues went away! And everything seems to work well. But am wondering if itâs safe to use in general in prod?
Currently, only Chrome supports the full specification. Firefox retail doesnât support WebGPU at all. Firefox nightly supports it, but not completely (last time I checked, even the basic playground didnât work, but that was a long time ago). And Safari doesnât support it.
So, if youâre only aiming for Chrome desktop, this might be a good choice. Otherwise, you should keep support for WebGL2.