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 f10e70a26d Vulkan: Allow non-opaque alpha 2 days ago
.vscode [tools] Add 'add-gerrit-hashtags' tool 2 weeks ago
build_overrides remove use_system_libwayland 4 months ago
docs Fix more broken links in docs 7 days ago
generator Adds missing includes for google3 roll. 3 days ago
include Merge upstream & update dependencies 2 days ago
infra Add Dawn android bots to CQ 2 weeks ago
mach Merge upstream & update dependencies 2 days ago
scripts d3d11: compile d3d11 backend in chromium build 4 weeks ago
src Vulkan: Allow non-opaque alpha 2 days ago
test Tint/GLSL: rename identifiers containing double-underscores. 3 days ago
third_party Merge upstream & update dependencies 2 days ago
tools [tools] Consider today for gerrit-stats and snippets 4 days ago
webgpu-cts Update expectations.txt with Android results 3 days ago
.clang-format Add InsertBraces: true to .clang-format 1 year ago
.clang-tidy Update some forward declarations. 1 year ago
.gitattributes Fix Kokoro Windows build 3 weeks ago
.gitignore Merge upstream & update dependencies 2 days ago
.gn Roll third_party/angle/ 52c42e5a8..4aa0975e6 (35 commits) 1 year ago
AUTHORS Merge remote-tracking branch 'tint/main' into HEAD 1 year ago
BUILD.gn Remove old src/include folder 11 months ago
CMakeLists.txt Merge upstream & update dependencies 2 days ago
CMakeSettings.json Normalize all line endings to LF 1 year ago
CODE_OF_CONDUCT.md Initial commit 3 years ago
CONTRIBUTING.md Combine contributing files. 1 year ago
CPPLINT.cfg Fixup CQ and Kokoro lint mismatches. 1 year ago
DEPS Roll ANGLE from 4dcfd08c0784 to ff110417bb04 (6 revisions) 2 days ago
DIR_METADATA Move metadata in OWNERS files to DIR_METADATA files 2 years ago
Doxyfile tint: add pretty printers for gdb and lldb 7 months ago
LICENSE Fix google3 license related issues 2 years ago
OWNERS Set OWNERS to * on .txt files needed for CTS rolls 3 months ago
PRESUBMIT.py tools: Move idlgen and run-cts to from dawn/node to tools/ 6 months ago
README.chromium Fix addition of README.md's content to README.chromium 10 months ago
README.md Fix addition of README.md's content to README.chromium 10 months ago
codereview.settings codereview.setings: default to not squashing on git cl upload 2 years ago
dawn.json Add SwapChain::GetCurrentTexture 3 days ago
dawn_wire.json Add SwapChain::GetCurrentTexture 3 days ago
go.mod [tools] Add 'add-gerrit-hashtags' tool 2 weeks ago
go.sum [tools] Add 'add-gerrit-hashtags' tool 2 weeks ago
go_presubmit_support.py Reland "Add expectations.txt validation to presubmit" 6 months ago
tint_overrides_with_defaults.gni tint/ir: Add GN option for building the IR 1 month 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.