CMake-only fork of https://dawn.googlesource.com/dawn with cleaned, vendored dependencies
Go to file
Ryan Harrison 8b441db771 Roll 5 dependencies
Roll third_party/glslang/ 29c9135d0..b481744ae (18 commits)

29c9135d06..b481744aea

$ git log 29c9135d0..b481744ae --date=short --no-merges --format='%ad %ae %s'
2020-07-14 bclayton Give build_info.py the executable bit
2020-07-14 cepheus Fix recently found non-determinism with gl_WorldToObject3x4EXT.
2020-07-14 cepheus Non-determinism: Remove test file that seems to trigger non-determinism.
2020-07-13 bclayton Add bison license to LICENSE.txt
2020-07-13 bclayton CMake: Move project() to top of CMakeLists.txt
2020-07-13 bclayton Kokoro: Print test output to stdout
2020-07-13 cepheus Fix comma in licence checker.
2020-07-13 cepheus Revert "Merge pull request #2330 from ShabbyX/optimize_for_angle"
2020-07-13 cepheus Fix a couple lines that were too long, to retrigger bots.
2020-07-13 cepheus Fix #2329: don't use invalid initializers.
2020-07-12 bclayton Add missing comma from license-checker.cfg
2020-07-12 ccom Common: include standard headers before doing any defines
2020-07-10 bclayton Fix CMake rules when nesting CMake projects
2020-07-10 bclayton Attempt to fix chromium builds
2020-06-17 bclayton Generate build information from CHANGES.md
2020-07-03 ShabbyX Customize glslang.y to GLSLANG_ANGLE
2020-07-03 ShabbyX Use GLSLANG_ANGLE to strip features to what ANGLE requires
2020-07-07 bclayton Use CMake's builtin functionality for PCHs

Created with:
  roll-dep third_party/glslang

Roll third_party/shaderc/ 1402ed576..5515d2a0c (5 commits)

1402ed5765..5515d2a0c2

$ git log 1402ed576..5515d2a0c --date=short --no-merges --format='%ad %ae %s'
2020-07-14 rharrison Roll 5 dependencies (#1102)
2020-07-13 dneto Add CMake support for buildint Tint in third_party (#1090)
2020-07-13 dneto Roll-deps: effcee trunk is "main" now (#1096)
2020-07-13 jiajie.hu Improve how GN finds auto-generated SPIRV-Tools headers (#1101)
2020-07-08 bclayton Remove pushing / popping -fPIC for glslang  (#1098)

Created with:
  roll-dep third_party/shaderc

Roll third_party/spirv-cross/ 559b21c6c..6575e451f (2 commits)

559b21c6c9..6575e451f5

$ git log 559b21c6c..6575e451f --date=short --no-merges --format='%ad %ae %s'
2020-07-11 post MSVC 2013: Fix silently broken builds.
2020-07-07 troughton MSL: Ensure OpStore source operands are marked for inclusion in function arguments

Created with:
  roll-dep third_party/spirv-cross

Roll third_party/SPIRV-Tools/ 2fbeb04b6..4c33fb0d3 (19 commits)

2fbeb04b6e..4c33fb0d3d

$ git log 2fbeb04b6..4c33fb0d3 --date=short --no-merges --format='%ad %ae %s'
2020-07-14 jaebaek Rewrite KillDebugDeclares() (#3513)
2020-07-14 andreperezmaselco.developer spirv-fuzz: Fix instruction insertion issue (#3521)
2020-07-14 andreperezmaselco.developer spirv-fuzz: Implement the OpMatrixTimesMatrix linear algebra case (#3527)
2020-07-14 greg Add support to GPU-AV instrumentation for Task and Mesh shaders (#3512)
2020-07-14 andreperezmaselco.developer spirv-fuzz: Support adding dead break from back-edge block (#3519)
2020-07-14 andreperezmaselco.developer Support OpPhi when replacing boolean constant operand (#3518)
2020-07-12 vasniktel spirv-fuzz: TransformationAddSynonyms (#3447)
2020-07-11 vasniktel spirv-fuzz: Remove unused functions (#3510)
2020-07-11 vasniktel spirv-fuzz: Minor refactoring (#3507)
2020-07-10 greg Preserve OpenCL.DebugInfo.100 through elim-local-single-store (#3498)
2020-07-10 jaebaek Preserve debug info in vector DCE pass (#3497)
2020-07-10 stefano.milizia00 Implement transformation to record synonymous constants. (#3494)
2020-07-09 jaebaek Fix build failure (#3508)
2020-07-09 greg Upgrade elim-local-single-block for OpenCL.DebugInfo.100 (#3451)
2020-07-09 vasniktel spirv-fuzz: TransformationReplaceParameterWithGlobal (#3434)
2020-07-09 andreperezmaselco.developer Implement the OpMatrixTimesVector linear algebra case (#3500)
2020-07-08 jaebaek Preserve OpenCL.100.DebugInfo in reduce-load-size pass (#3492)
2020-07-08 andreperezmaselco.developer spirv-fuzz: Add image sample unused components transformation (#3439)
2020-07-07 andreperezmaselco.developer spirv-fuzz: Add variables with workgroup storage class (#3485)

Created with:
  roll-dep third_party/SPIRV-Tools

Roll third_party/tint/ 7b819aa16..16890b9ce (10 commits)

https://dawn.googlesource.com/tint/+log/7b819aa16240..16890b9ce8b7

$ git log 7b819aa16..16890b9ce --date=short --no-merges --format='%ad %ae %s'
2020-07-14 dsinclair Add determination of entrypoint callees.
2020-07-14 dsinclair Update cube example
2020-07-13 dneto [spirv-reader] Refactor how we emit const definitions
2020-07-13 dneto [spirv-reader] avoid using WGSL reserved words
2020-07-10 dsinclair [msl-writer] Fix output of array-of-array.
2020-07-08 dsinclair [msl-writer] Add variable declarations.
2020-07-08 dsinclair [msl-writer] Better error message for missing statement and expression.
2020-07-08 dsinclair [msl-writer] Add missing include.
2020-07-08 dsinclair [msl-writer] Handle remapping remap collisions.
2020-07-08 dsinclair Fixup format parsing in sample app.

Created with:
  roll-dep third_party/tint

Change-Id: Ic5b80386b8a14283d57c906ba4dd330364443f88
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24860
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2020-07-14 20:44:45 +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 Implement Buffer::MapAsync 2020-07-14 12:30:14 +00:00
infra/config infra: Migrate builders to Goma RBE 2020-06-09 12:34:02 +00:00
scripts lint_clang_format.sh: Un-skip tests and examples 2020-07-10 19:41:38 +00:00
src Implement Buffer::MapAsync 2020-07-14 12:30:14 +00:00
third_party Fix and enable -Wgnu-anonymous-struct 2020-04-30 16:01:08 +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-14 20:44:45 +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 Skip clang-format on Windows 2020-07-14 17:59:35 +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 Implement Buffer::MapAsync 2020-07-14 12:30:14 +00:00
dawn_wire.json Implement Buffer::MapAsync 2020-07-14 12:30:14 +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.