3 ms·
> As of Safari Technology Preview Release 26, and WebKit Nightly Build, a WebGPU prototype is available for you to experiment with on macOS. Using latest WebKi
by shurcooL 10y ago
> As of Safari Technology Preview Release 26, and WebKit Nightly Build, a WebGPU prototype is available for you to experiment with on macOS.
Using latest WebKit Nightly, after enabling WebGPU in Experimental Features, I'm getting:
TypeError: null is not an object (evaluating 'gpu.createCommandQueue')
I'm guessing it's because I'm on a 2011 MBP that Metal doesn't support, so WebGPU won't work either. Or is it something else?
In any case, the error handling should be improved to detect and handle the case when canvas.getContext("webgpu") returns null.