dawnv20260714.215939
- Updated
Dawn is an open-source and cross-platform implementation of the WebGPU standard.
- Project website: https://dawn.googlesource.com/dawn
#Usage
dawn provides CMake targets:
find_package(Dawn CONFIG REQUIRED)
target_link_libraries(main PRIVATE dawn::webgpu_dawn)dawn provides pkg-config modules:
unofficial_webgpu_dawn#Supported Platforms
All platforms supported.
#Features
Default features: d3d11, d3d12, gl, gles, metal, vulkan, x11
#d3d11
Direct3D 11 backend support
Platforms: windows
- ✅windows
- ❌
linux - ❌
osx - ❌
uwp
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
#d3d12
Direct3D 12 backend support
Platforms: windows
- ✅windows
- ❌
linux - ❌
osx - ❌
uwp
Dependencies:
and one transitive dependency:
zlib (through directx-dxc)
Platforms:
linux & !static
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (through directx-dxc)
- vcpkg-cmake-config (through directx-dxc)
#gl
Desktop OpenGL backend support
Platforms: linux | freebsd | openbsd
- ✅linux
- ❌
osx - ❌
uwp - ❌
windows
Host Dependencies:
No dependencies.
#gles
OpenGL ES backend support
Platforms: android | linux | freebsd | openbsd
- ✅linux
- ❌
osx - ❌
uwp - ❌
windows
Host Dependencies:
No dependencies.
#metal
Metal backend support
Platforms: osx | ios
- ✅osx
- ❌
linux - ❌
uwp - ❌
windows
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
#tint-tools
Build tint command-line tools
Platforms: (windows & !uwp) | linux | freebsd | openbsd | osx
- ✅linux
- ✅osx
- ✅windows
- ❌
uwp
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (through glslang)
- vcpkg-cmake-config (through glslang)
#vulkan
Vulkan backend support
Platforms: (windows & !uwp) | android | linux | freebsd | openbsd
- ✅linux
- ✅windows
- ❌
osx - ❌
uwp
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (through vulkan-headers)
- vcpkg-cmake-config (through vulkan-headers)
#wayland
Wayland support
Platforms: linux | freebsd | openbsd
- ✅linux
- ❌
osx - ❌
uwp - ❌
windows
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
#x11
X11 support
Platforms: linux | freebsd | openbsd
- ✅linux
- ❌
osx - ❌
uwp - ❌
windows
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
#Used By
- imgui (feature
webgpu-binding) - skia (feature
dawn)
#Host Tool For
No ports use this.
#Contributors
Weihang Ding
CQ_Undefine
ayeteadoe
TLescoatTFX
tstraus
Victor Romero