File tree Expand file tree Collapse file tree
site/source/docs/porting/multimedia_and_graphics Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ .. _WebGPU-support :
2+
3+ ==========================
4+ Using WebGPU in Emscripten
5+ ==========================
6+
7+ Emscripten supports using WebGPU via `Emdawnwebgpu <https://dawn.googlesource.com/dawn/+/refs/heads/main/src/emdawnwebgpu/pkg/ >`_,
8+ an external Emscripten port that implements a `Dawn <https://dawn.googlesource.com/dawn >`_-like version of the
9+ `webgpu.h <https://github.com/webgpu-native/webgpu-headers/ >`_ C API, on top of the browser's WebGPU.
10+ See the Emdawnwebgpu link for documentation, and
11+ `this article <https://developer.chrome.com/docs/web-platform/webgpu/build-app >`_ for an example of how to use it.
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ This section contains articles about Emscripten's support for graphics and audio
1010.. toctree ::
1111 :maxdepth: 1
1212
13+ WebGPU-support
1314 EGL-Support-in-Emscripten
1415 OpenGL-support
1516
You can’t perform that action at this time.
0 commit comments