cx20
May 5, 2022, 12:31am
1
This is a WebGPU sample recently introduced on Twitter, but it doesn’t work on the latest Chrome Canary.
Recently, there has been a specification change in the WGSL specification for WebGPU shaders.
austinEng:main ← munrocket:main
opened 09:08AM - 21 Jan 22 UTC
According to relatively new changes in wgsl.
Perhaps changing the alias below from #36 to #50 will work with the latest Chrome Canary.
https://aka.ms/babylon5computeshaders
(https://playground.babylonjs.com/?webgpu#YX6IB8#36)
→ https://playground.babylonjs.com/?webgpu#YX6IB8#50
Thanks for reporting.
We have already fixed the demos in the doc page, the updated one for the Ocean is https://playground.babylonjs.com/?webgpu#YX6IB8#55 .
@Deltakosh / @sebavan : as the link in the tweet is not a direct link to the PG, I think it can be updated?
cx20
May 5, 2022, 8:37am
3
I have confirmed that #55 works on Edge Canary (Chrome/102.0.5005.0 Edg/102.0.1248.0).
However, it seems to be an error in Chrome Canary (Chrome/103.0.9999.0).
This may be an environment-dependent issue, but I’ll report it for now.
The environment I tried is as follows.
OS : Windows 10 Version 21H1(OS Build 19043.1645)
GPU : NVIDIA GeForce RTX 2060
cx20
May 5, 2022, 2:52pm
4
There seems to be a problem with GPU Connection Lost on Chrome Canary 103.5044.0 and above.
opened 02:45PM - 05 May 22 UTC
@austinEng I was developing on webgpu application on Chrome canary today and I s… uddenly started getting "GPU connection lost" and rendering fails on my webgpu application.
I observed the same failure on your samples: https://austin-eng.com/webgpu-samples/samples/helloTriangle
This regression started with Chrome canary version 103.5044.0, it was working fine with version 103.5043.1
Did you observe the same failure?
Any idea how to overcome it?

Yes, nothing works anymore in the current Chrome Canary version.
@Evgeni_Popov is it an Api change I can fix now or is it a broken version on their end ?
No, it is a problem on Chrome side, they released a version that breaks everything, you get a “connection lost” right from start (even in the WebGPU samples - the link from @cx20 above).
It seems the latest version of Canary is ok, the PG is working again!