Comment by _nalply
11 days ago
Firefox supports WebGPU, but needs a setting in about:config. I enabled the setting but HipScript still denies running on Firefox with the message: "Please try a Chromium-based browser like Google Chrome or Microsoft Edge."
Please do feature detection, not browser detection.
I do do feature detection—WebGPU is blocked on Release Firefox regardless of config, you'll need nightly. It does support Safari with its experimental mode enabled for example.
I enabled WebGPU in safari on my m1 Mac and got this error when running the GoL demo:
``` TypeError: B.values().some is not a function. (In 'B.values().some(r=>r.args.length)', 'B.values().some' is undefined) ```
EDIT: I got the same error with all three sample scripts
I believe I just fixed this—JavaScriptCore doesn't have support for a recently-introduced function.
1 reply →
OK, I installed Firefox Nightly and enabled dom.webgpu.enabled and gfx.webrender.all corresponding to this article: https://hacks.mozilla.org/2020/04/experimental-webgpu-in-fir..., but still this error message. Which config options are needed for HipScript to run on Firefox?
Edit: on Nightly `navigator.gpu` is available, I checked that in the console.