Comment by _nalply

Comment by _nalply 11 days ago

6 replies

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.

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.

  • doctoboggan 11 days ago

    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

    • lights0123 10 days ago

      I believe I just fixed this—JavaScriptCore doesn't have support for a recently-introduced function.

[removed] 10 days ago
[deleted]