In current Firefox Nightlies, none of the vertex shader examples work on the intro webgpu-fundamentals.html page because it looks like let is not supported yet (which is used to define the pos array).
I know it's not an issue with webgpufundamentals and there is a lot of other stuff also not supported, but perhaps you'd consider using var in these simple initial examples (or add a note about it) until it's fixed in Firefox because it's disheartening to see no red triangle when you're excited to check out webgpu!
It is being tracked in this bugzilla bug. Might take a while, but it will get here eventually and then be fixed properly. Probably better than a temporary "fix". I'll close this.
In current Firefox Nightlies, none of the vertex shader examples work on the intro
webgpu-fundamentals.html
page because it looks likelet
is not supported yet (which is used to define thepos
array).I know it's not an issue with webgpufundamentals and there is a lot of other stuff also not supported, but perhaps you'd consider using
var
in these simple initial examples (or add a note about it) until it's fixed in Firefox because it's disheartening to see no red triangle when you're excited to check out webgpu!