CMake-only fork of https://dawn.googlesource.com/dawn with cleaned, vendored dependencies
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Luke Street db82c79db6 CMakeLists: Disable DAWN_SUPPORTS_GLFW_FOR_WINDOWING 5 months ago
.vscode .vscode/tasks.json - Add 'cmake gen' 10 months ago
build_overrides GN: Wayland build overrides 7 months ago
docs Do simplifications assuming macOS 10.11 is the min version supported. 6 months ago
generator Make adapter info device matching more flexible 6 months ago
include OpenGL: Create ContextExternal for use without EGL 5 months ago
infra kokoro: Update DXC to v1.7.2207 - 2022/07/18 6 months ago
mach Vendor vulkan-tools 9 months ago
scripts Add alternative method to use a version/git hash from a file. 7 months ago
src OpenGL: Create ContextExternal for use without EGL 5 months ago
test Update `workgroup_size` to use `expression`. 5 months ago
third_party Update vendored deps 5 months ago
tools Moves sorting into `format` and out of `parse`. 6 months ago
webgpu-cts Manual cleanup of CTS expectations. 5 months ago
.clang-format Add InsertBraces: true to .clang-format 8 months ago
.clang-tidy Update some forward declarations. 8 months ago
.gitattributes Pipeline cache D3D12 backend impl 8 months ago
.gitignore Merge remote-tracking branch 'upstream/main' 5 months ago
.gn Roll third_party/angle/ 52c42e5a8..4aa0975e6 (35 commits) 8 months ago
AUTHORS Merge remote-tracking branch 'tint/main' into HEAD 10 months ago
BUILD.gn Remove old src/include folder 7 months ago
CMakeLists.txt CMakeLists: Disable DAWN_SUPPORTS_GLFW_FOR_WINDOWING 5 months ago
CMakeSettings.json Normalize all line endings to LF 10 months ago
CODE_OF_CONDUCT.md Initial commit 3 years ago
CONTRIBUTING.md Combine contributing files. 10 months ago
CPPLINT.cfg Fixup CQ and Kokoro lint mismatches. 10 months ago
DEPS Roll ANGLE from bec40d768468 to 5ef3960bc1f1 (4 revisions) 5 months ago
DIR_METADATA Move metadata in OWNERS files to DIR_METADATA files 2 years ago
Doxyfile doxygen: Skip libfuzzer header 6 months ago
LICENSE Fix google3 license related issues 1 year ago
OWNERS Add bclayton's chromium account to OWNERS 8 months ago
PRESUBMIT.py Early out Is checks. 6 months ago
README.chromium Fix addition of README.md's content to README.chromium 6 months ago
README.md Fix addition of README.md's content to README.chromium 6 months ago
codereview.settings codereview.setings: default to not squashing on git cl upload 2 years ago
dawn.json Add DeviceBase::APIGetAdapter 5 months ago
dawn_wire.json Add DeviceBase::APIGetAdapter 5 months ago
go.mod tools: Add the 'cts export' sub-command 9 months ago
go.sum tools: Add the 'cts export' sub-command 9 months ago
tint_overrides_with_defaults.gni Move tint unittest behind a build flag. 7 months ago

README.md

Dawn's logo: a sun rising behind a stylized mountain inspired by the WebGPU logo. The text "Dawn" is written below it.

Dawn, a WebGPU implementation

Dawn is an open-source and cross-platform implementation of the work-in-progress WebGPU standard. More precisely it implements webgpu.h that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.

Dawn provides several WebGPU building blocks:

  • WebGPU C/C++ headers that applications and other building blocks use.
    • The webgpu.h version that Dawn implements.
    • A C++ wrapper for the webgpu.h.
  • A "native" implementation of WebGPU using platforms' GPU APIs: D3D12, Metal, Vulkan and OpenGL. See per API support for more details.
  • A client-server implementation of WebGPU for applications that are in a sandbox without access to native drivers
  • Tint is a compiler for the WebGPU Shader Language (WGSL) that can be used in standalone to convert shaders from and to WGSL.

Helpful links:

Documentation table of content

Developer documentation:

User documentation: (TODO, figure out what overlaps with the webgpu.h docs)

Status

(TODO)

License

Apache 2.0 Public License, please see LICENSE.

Disclaimer

This is not an officially supported Google product.