3 ms·
WebGPU can be used outside of the browser through native libraries: https://github.com/gfx-rs/wgpu https://github.com/gfx-rs/wgpu https://dawn.googlesource.co
by flohofwoe 4y ago
WebGPU can be used outside of the browser through native libraries:
https://github.com/gfx-rs/wgpu https://github.com/gfx-rs/wgpu
https://dawn.googlesource.com/dawn https://dawn.googlesource.com/dawn
(these are the libraries that are used in Firefox and Chrome to provide the WebGPU implementation, don't know if Apple/WebKit also has open-sourced theirs)
Some non-browser WASM runtimes also have WebGPU support already, but unfortunately only for offscreen rendering or compute tasks (e.g. for writing cross-platform windowed apps as WASM blobs, there's a window system glue layer missing).
- Jasper_ 4y ago> don't know if Apple/WebKit also has open-sourced theirs https://github.com/WebKit/WebKit/tree/main/Source/WebGPU https://github.com/WebKit/WebKit/tree/main/Source/WebGPU