dawn
Dawn, a WebGPU implementation
Latest version: 20261009.190412
Add to xmake.lua
add_requires("dawn 20261009.190412")Learn how to add and link packages with Xmake →
Information
- License
- BSD-3-Clause
- Recipe updated
- 2026-10-20T15:26:15.000Z
Platforms
- linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
- wasm: wasm32, wasm64
- android: armeabi, armeabi-v7a, arm64-v8a, riscv64, x86, x86_64, mips, mip64
- windows: x64, arm64
- iphoneos: arm64, x86_64
- macosx: x86_64, arm64
Options
d3d11- Enable the Direct3D 11 backend. · Type: boolean
d3d12- Enable the Direct3D 12 backend. · Type: boolean
glfw- Enable GLFW windowing utilities. · Type: boolean · Default: false
metal- Enable the Metal backend. · Type: boolean
opengl- Enable the desktop OpenGL backend. · Type: boolean · Default: true
opengles- Enable the OpenGL ES backend. · Type: boolean · Default: true
vulkan- Enable the Vulkan backend. · Type: boolean · Default: true
wayland- Enable Wayland surfaces. · Type: boolean · Default: true
x11- Enable X11 surfaces. · Type: boolean · Default: true
Versions
- 20261009.190412
Dependencies
No dependencies declared.
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "dawn 20261009.190412"show info
xrepo info "dawn"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("dawn 20261009.190412")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("dawn")Open a package environment
Open a shell with the environment exported by this package. Use the executable names documented by the package.
enter shell
xrepo env -b "dawn 20261009.190412" shell