4 ms·
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 enab
by lights0123 2y 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.
- doctoboggan 2y agoI 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
- lights0123 2y agoI believe I just fixed this—JavaScriptCore doesn't have support for a recently-introduced function.
- doctoboggan 2y agoI can confirm it is working for me now, thanks!
- _nalply 2y agoOK, 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-firefox/ 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.