CMake-only fork of https://dawn.googlesource.com/dawn with cleaned, vendored dependencies
Go to file
Ryan Harrison c4cebc7efa Roll 5 dependencies
Roll third_party/glslang/ b481744ae..9eef54b25 (4 commits)

b481744aea..9eef54b251

$ git log b481744ae..9eef54b25 --date=short --no-merges --format='%ad %ae %s'
2020-07-17 bclayton Update license-checker.cfg with simplified rules
2020-07-17 bclayton Add new rules for update of license-checker
2020-07-15 cepheus GLSL/SPV: Propagaet precision qualifier from function to return value.
2020-07-14 bclayton runtests: Check error codes, set LD_LIBRARY_PATH

Created with:
  roll-dep third_party/glslang

Roll third_party/shaderc/ 5515d2a0c..6af6e6255 (4 commits)

5515d2a0c2..6af6e62557

$ git log 5515d2a0c..6af6e6255 --date=short --no-merges --format='%ad %ae %s'
2020-07-20 bclayton Update license-checker.cfg with simplified rules (#1107)
2020-07-18 bclayton Mingw - use `posix` toolchain flavor (#1108)
2020-07-17 bclayton Kokoro: Migrate linux bots to ubuntu docker image
2020-07-17 bclayton License checker (#1104)

Created with:
  roll-dep third_party/shaderc

Roll third_party/spirv-headers/ 308bd0742..7f2ae1193 (1 commit)

308bd07424..7f2ae1193a

$ git log 308bd0742..7f2ae1193 --date=short --no-merges --format='%ad %ae %s'
2020-07-19 vkushwaha Add changes for SPV_EXT_shader_atomic_float

Created with:
  roll-dep third_party/spirv-headers

Roll third_party/SPIRV-Tools/ 4c33fb0d3..c10d6cebb (15 commits)

4c33fb0d3d..c10d6cebbc

$ git log 4c33fb0d3..c10d6cebb --date=short --no-merges --format='%ad %ae %s'
2020-07-20 stefanomil spirv-fuzz: refactor to use RemoveAtRandomIndex (#3560)
2020-07-20 antonikarp spirv-fuzz: add TransformationAddRelaxedDecoration (#3545)
2020-07-17 alanbaker Store location values sparsely (#3488)
2020-07-17 dneto Permit Simple and GLSL450 memory model in WEBGPU_0 (#3463)
2020-07-17 antonikarp spirv-fuzz: support floating-point in TransformationInvertComparisonOperator (#3551)
2020-07-17 stefanomil Change MaybeApplyTransformation to return a boolean (#3555)
2020-07-17 stefanomil spirv-fuzz: Implement MaybeApplyTransformation helper function (#3540)
2020-07-17 stefanomil spirv-fuzz: Assert false in IsApplicable method of TransformationAccessChain (#3528)
2020-07-16 vasniktel spirv-fuzz: Add support for OpBitcast to TransformationEquationInstruction (#3523)
2020-07-16 vasniktel spirv-fuzz: Add support for OpConvert to TransformationEquationInstruction (#3472)
2020-07-15 alanbaker Fix reachability in the validator (#3541)
2020-07-15 vasniktel spirv-fuzz: Remove TransformationCopyObject (#3531)
2020-07-15 vasniktel spirv-opt: Add support for OpLabel to dominator analysis (#3516)
2020-07-15 stefanomil spirv-fuzz: Fuzzer pass to interchange zero-like constants (#3524)
2020-07-15 afdx spirv-fuzz: Add replay range option (#3535)

Created with:
  roll-dep third_party/SPIRV-Tools

Roll third_party/tint/ 16890b9ce..18c85f52e (23 commits)

https://dawn.googlesource.com/tint/+log/16890b9ce8b7..18c85f52e482

$ git log 16890b9ce..18c85f52e --date=short --no-merges --format='%ad %ae %s'
2020-07-20 dsinclair [msl-writer] Cleanups and refactors.
2020-07-20 dsinclair [msl-writer] Handle uniform buffers.
2020-07-20 dneto [spirv-reader] Support DescriptorSet and Binding
2020-07-20 dneto [spirv-reader] Handle old-style storage buffers
2020-07-17 dneto Rolling 6 dependencies
2020-07-16 dneto [spirv-reader] Support Location on module vars
2020-07-16 dneto [spirv-reader] Ignore empty string user names
2020-07-16 dneto [spirv-reader] Handle gl_Position
2020-07-16 rharrison Clean up how deps are defined in BUILD.gn
2020-07-16 dsinclair Remove refs.cfg.
2020-07-16 dsinclair Fixup group list name
2020-07-16 dsinclair [msl-writer] Emitting of program constants.
2020-07-16 dsinclair [msl-writer] Fixup matrix and array constructors.
2020-07-16 dsinclair Differentiate size and stride in array type name.
2020-07-16 dneto [spirv-reader] Support duplicate type definitions
2020-07-15 dsinclair [msl-writer] Add struct offset support.
2020-07-15 dsinclair [msl-writer] Add builtin support
2020-07-15 dsinclair Add helpers for referenced variables.
2020-07-15 dsinclair [msl-writer] Refactor some entry point variable code.
2020-07-15 dsinclair [msl-writer] Generate entry point functions.
2020-07-14 dsinclair [msl-writer] Handle emitting user function calls.
2020-07-14 dsinclair Inherit refererenced globals up the call stack.
2020-07-14 dsinclair [msl-writer] Generate input/output structs

Created with:
  roll-dep third_party/tint

Change-Id: I5c4e85a8a374d0467b40cc4529cb6ad4909faeb8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/25263
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2020-07-20 19:21:00 +00:00
build_overrides Add Tint to BUILD.gn 2020-05-07 21:15:55 +00:00
docs Deprecate Buffer::SetSubData in favor of Queue::WriteBuffer 2020-06-02 09:24:39 +00:00
examples Autoformat all tests and examples 2020-07-10 20:33:08 +00:00
generator Add .clang-format files and format more files 2020-07-15 19:51:17 +00:00
infra/config Add .clang-format files and format more files 2020-07-15 19:51:17 +00:00
scripts Use canned CheckPatchFormatted instead of our own linting 2020-07-15 20:47:57 +00:00
src Vulkan: Set apiVersion dawn targets 2020-07-20 08:44:29 +00:00
third_party Add .clang-format files and format more files 2020-07-15 19:51:17 +00:00
tools/memory/asan Fix is_asan build (at least on Mac) 2020-04-06 22:27:02 +00:00
.clang-format Add .clang-format 2017-11-28 16:18:39 -05:00
.gitattributes Add .gitattributes to normalize EOL 2019-07-15 12:23:18 +00:00
.gitignore Add Tint to BUILD.gn 2020-05-07 21:15:55 +00:00
.gn Re-enable -Wunguarded-availability in Dawn standalone builds 2019-12-11 16:54:51 +00:00
AUTHORS Rename NXT -> Dawn in the comments 2018-07-18 22:54:06 +02:00
BUILD.gn Remove temporary GN proxy groups. 2020-04-14 17:36:44 +00:00
CMakeLists.txt Fix the CMake build because of CMP0077 2020-04-10 17:04:31 +00:00
CONTRIBUTING.md docs: write an overview of Dawn and split README.md 2019-12-05 11:01:41 +00:00
DEPS Roll 5 dependencies 2020-07-20 19:21:00 +00:00
LICENSE Initial commit of all the NXT integration. 2017-04-20 14:38:20 -04:00
OWNERS Add enga@chromium.org as OWNER 2020-04-02 18:14:37 +00:00
PRESUBMIT.py Use canned CheckPatchFormatted instead of our own linting 2020-07-15 20:47:57 +00:00
README.chromium Add component to OWNERS and fixup repo URL in README.chromium 2018-09-25 20:53:37 +00:00
README.md Add Matrix chatrooms to README.md 2020-04-24 12:38:13 +00:00
codereview.settings Initial CQ configuration 2018-08-23 08:33:35 -04:00
dawn.json dawn.json: Noop argument rename for mapAsync 2020-07-20 16:24:20 +00:00
dawn_wire.json Use MapAsync callback for server->client map callbacks. 2020-07-17 07:38:36 +00:00

README.md

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 on Windows 10
    • Metal on macOS and iOS
    • Vulkan on Windows, Linux, ChromeOS, Android and Fuchsia
    • OpenGL as best effort where available
  • A client-server implementation of WebGPU for applications that are in a sandbox without access to native drivers

Helpful links:

Documentation table of content

Developer documentation:

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

Status

(TODO)

License

Apache 2.0 Public License, please see LICENSE.

Disclaimer

This is not an officially supported Google product.