Mirror of zig-gamedev/dawn source for WetGrape offline builds
  • C++ 52.3%
  • WGSL 15.6%
  • HLSL 14.6%
  • GLSL 13.9%
  • Go 1.7%
  • Other 1.7%
Find a file
2023-08-10 09:37:01 -07:00
.vscode [tools] Add 'add-gerrit-hashtags' tool 2023-05-16 14:36:37 +00:00
build@5885d3c248 Add gitmodules to dawn. 2023-08-04 22:26:55 +00:00
build_overrides Manual roll of build and buildtools for new llvm repo paths. 2023-08-03 23:27:41 +00:00
buildtools@79ab87fa54 Add gitmodules to dawn. 2023-08-04 22:26:55 +00:00
docs Add instructions about fetch_dawn_dependencies 2023-08-10 07:10:02 +00:00
generator Add *FreeMembers functions for out structs with non-value members 2023-08-09 00:59:33 +00:00
include [tint] Remove sem/external_texture.h 2023-08-10 08:32:16 +00:00
infra Activate dawn M117 2023-08-09 18:03:54 +00:00
mach mach: remove now-useless scripts 2022-12-30 19:25:55 -07:00
scripts Remove "enable_arc2" from Dawn 2023-08-01 16:05:57 +00:00
src Merge remote-tracking branch 'upstream/main' 2023-08-10 09:37:01 -07:00
test [hlsl-writer] Add support for subgroup inputs 2023-08-08 01:40:43 +00:00
testing@166db27fd0 Add gitmodules to dawn. 2023-08-04 22:26:55 +00:00
third_party Roll ANGLE from fa3ecccba745 to d7e914da5f99 (2 revisions) 2023-08-10 13:39:06 +00:00
tools [tint] Index the const-eval-functions in the intrinsic table 2023-08-09 17:29:31 +00:00
webgpu-cts Remove stale WebGPU CTS expectations 2023-08-10 10:03:25 +00:00
.clang-format Add InsertBraces: true to .clang-format 2022-05-19 20:08:19 +00:00
.clang-tidy Update some forward declarations. 2022-05-30 18:00:58 +00:00
.gitattributes Set eol=lf for .mm files 2023-07-29 01:06:10 +00:00
.gitignore Switch libcxx paths from trunk -> src. 2023-08-02 16:35:08 +00:00
.gitmodules Add gitmodules to dawn. 2023-08-04 22:26:55 +00:00
.gn Roll third_party/angle/ 52c42e5a8..4aa0975e6 (35 commits) 2022-05-25 16:06:54 +00:00
AUTHORS vulkan: Use separate release semaphores for external textures 2023-07-20 23:09:31 +00:00
BUILD.gn Remove old src/include folder 2022-06-18 16:16:11 +00:00
CMakeLists.txt Fix Android CMake build 2023-07-13 08:51:17 +00:00
CMakeSettings.json Normalize all line endings to LF 2022-04-08 14:18:28 +00:00
CODE_OF_CONDUCT.md Initial commit 2020-03-02 15:47:43 -05:00
codereview.settings codereview.setings: default to not squashing on git cl upload 2021-03-10 18:35:58 +00:00
CONTRIBUTING.md Combine contributing files. 2022-04-10 22:14:00 +00:00
CPPLINT.cfg Fixup CQ and Kokoro lint mismatches. 2022-04-13 16:14:26 +00:00
dawn.json Remove the now unused DawnShaderFloat16 extension enum. 2023-08-10 07:10:53 +00:00
dawn_wire.json Simplify wire to have less custom object creation 2023-06-26 17:23:26 +00:00
DEPS Roll ANGLE from fa3ecccba745 to d7e914da5f99 (2 revisions) 2023-08-10 13:39:06 +00:00
DIR_METADATA Move metadata in OWNERS files to DIR_METADATA files 2021-02-04 01:26:43 +00:00
Doxyfile tint: add pretty printers for gdb and lldb 2022-10-27 20:17:45 +00:00
go.mod [tools] Add 'add-gerrit-hashtags' tool 2023-05-16 14:36:37 +00:00
go.sum [tools] Add 'add-gerrit-hashtags' tool 2023-05-16 14:36:37 +00:00
go_presubmit_support.py Reland "Add expectations.txt validation to presubmit" 2022-12-08 21:57:55 +00:00
LICENSE Fix google3 license related issues 2021-12-02 21:25:58 +00:00
OWNERS Add gitmodules to dawn. 2023-08-04 22:26:55 +00:00
PRESUBMIT.py Add gitmodules to dawn. 2023-08-04 22:26:55 +00:00
README.chromium [ssci] Added Shipped field to READMEs 2023-07-14 17:17:20 +00:00
README.md Fix addition of README.md's content to README.chromium 2022-08-09 14:09:00 +00:00
tint_overrides_with_defaults.gni tint/ir: Add GN option for building the IR 2023-04-26 22:05:42 +00:00

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.