webgpu / webgpufundamentals

https://webgpufundamentals.org
BSD 3-Clause "New" or "Revised" License
630 stars 91 forks source link

`let` not supported in Firefox Nightly #77

Closed mrspeaker closed 9 months ago

mrspeaker commented 9 months ago

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!

mrspeaker commented 9 months ago

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.