Comment by lights0123
Comment by lights0123 11 days ago
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.
Comment by lights0123 11 days ago
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 believe I just fixed this—JavaScriptCore doesn't have support for a recently-introduced function.
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.
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