commit | c15160f3ab08dcbb31adeac8490b394ed89a6d5b | [log] [tgz] |
---|---|---|
author | Ryan Harrison <rharrison@chromium.org> | Tue Oct 01 17:16:53 2019 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Tue Oct 01 17:16:53 2019 +0000 |
tree | 56dfa4ffb29919dfddb77ece993941f0be7b57d0 | |
parent | deb28ea45d0dd00e52026ae227d856582546ca9d [diff] |
Rolling 4 dependencies Roll third_party/SPIRV-Tools/ 958f7e72a..9eb1c9a4c (20 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools/+log/958f7e72a7a9..9eb1c9a4c450 $ git log 958f7e72a..9eb1c9a4c --date=short --no-merges --format='%ad %ae %s' 2019-10-01 stevenperron Add continue construct analysis to struct cfg analysis (#2922) 2019-09-27 stevenperron Record trailing line dbg instructions (#2926) 2019-09-27 rharrison Add removing references to debug instructions when removing them (#2923) 2019-09-27 paulthomson spirv-fuzz: allow interestingness script arguments (#2925) 2019-09-27 ehsannas Add Kokoro bots for building with Bazel. (#2914) 2019-09-27 alanbaker Refactor the InstructionPass (#2924) 2019-09-26 afdx spirv-fuzz: do not allow a dead break to target an unreachable block (#2917) 2019-09-26 afdx spirv-fuzz: preserve some analyses when permuting blocks (#2918) 2019-09-25 alanbaker Only allow previously declared forward refs in structs (#2920) 2019-09-25 stevenperron Handle id overflow in wrap-opkill (#2916) 2019-09-25 afdx spirv-fuzz: do not replace struct indices with synonyms (#2915) 2019-09-25 afdx spirv-fuzz: Fixes to preconditions for adding dead break/continue edges (#2904) 2019-09-25 afdx spirv-fuzz: do not replace a pointer argument to a function call with a synonym (#2901) 2019-09-25 afdx spirv-fuzz: do not replace boolean constant argument to OpPhi instruction (#2903) 2019-09-24 alanbaker Remove validate_datarules.cpp (#2911) 2019-09-24 stevenperron Handle extract with no indexes (#2910) 2019-09-24 ehsannas Add Bazel build configuration. (#2891) 2019-09-24 stevenperron Handle id overflow in convert local access chains (#2908) 2019-09-24 dsinclair Add OpCopyMemory test to SVA. (#2885) 2019-09-23 dsinclair Add missing GN dependency (#2899) Roll third_party/glslang/ 973d0e538..7bc047326 (1 commit) https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang/+log/973d0e538292..7bc047326e06 $ git log 973d0e538..7bc047326 --date=short --no-merges --format='%ad %ae %s' 2019-09-18 laddoc Reflection will crash when the VS input symbol defines the same name with FS output symbol Roll third_party/shaderc/ cb8b3fc5c..e849e6783 (4 commits) https://chromium.googlesource.com/external/github.com/google/shaderc/+log/cb8b3fc5caf9..e849e6783d9f $ git log cb8b3fc5c..e849e6783 --date=short --no-merges --format='%ad %ae %s' 2019-09-23 rharrison Add logging missing failures to spvc test script (#815) 2019-09-23 rharrison Add --update_known_failures to spvc test script (#813) 2019-09-23 rharrison Another round of cleaning the spvc test script (#811) 2019-09-23 rharrison Rolling 2 dependencies (#812) Roll third_party/spirv-headers/ 601d73872..842ec9067 (4 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Headers/+log/601d738723ac..842ec9067462 $ git log 601d73872..842ec9067 --date=short --no-merges --format='%ad %ae %s' 2019-09-24 ehsannas Improve the doc on using Bazel. 2019-09-24 rex.xu Bump the SPIR-V version to 1.5 2019-09-23 ehsannas Update documentation. 2019-09-18 ehsannas Add a Bazel build file. Created with: roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers Change-Id: If888854a1b123b01cd14169d9e2ac0cf2b0eec00 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/11741 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Dawn (formerly NXT) is an open-source and cross-platform implementation of the work-in-progress WebGPU standard. It exposes a C/C++ API that maps almost one-to-one to the WebGPU IDL and can be managed as part of a larger system such as a Web browser.
Dawn provides several WebGPU building blocks:
dawn.json
: description of the API used to drive code generators.examples
: examples showing how Dawn is used.generator
: code generator for files produces from dawn.json
templates
: Jinja2 templates for the generatorscripts
: scripts to support things like continuous testing, build files, etc.src
:common
: helper code shared between core Dawn libraries and tests/samplesdawn_native
: native implementation of WebGPU, one subfolder per backenddawn_wire
: client-server implementation of WebGPUinclude
: public headers for Dawntests
: internal Dawn testsend2end
: WebGPU tests performing GPU operationsunittests
: unittests and by extension tests not using the GPUvalidation
: WebGPU validation tests not using the GPU (frontend tests)utils
: helper code to use Dawn used by tests and samplesthird_party
: directory where dependencies live as well as their buildfiles.Dawn uses the Chromium build system and dependency management so you need to install depot_tools and add it to the PATH.
On Linux you need to have the pkg-config
command:
# Install pkg-config on Ubuntu sudo apt-get install pkg-config
Then get the source as follows:
# Clone the repo as "dawn" git clone https://dawn.googlesource.com/dawn dawn && cd dawn # Bootstrap the gclient configuration cp scripts/standalone.gclient .gclient # Fetch external dependencies and toolchains with gclient gclient sync
Then generate build files using gn args out/Debug
or gn args out/Release
. A text editor will appear asking build options, the most common option is is_debug=true/false
; otherwise gn args out/Release --list
shows all the possible options.
Then use ninja -C out/Release
to build dawn and for example ./out/Release/dawn_end2end_tests
to run the tests.
Please read and follow CONTRIBUTING.md. Dawn doesn‘t have a formal coding style yet, except what’s defined by our clang format style. Overall try to use the same style and convention as code around your change.
If you find issues with Dawn, please feel free to report them on the bug tracker. For other discussions, please post to Dawn's mailing list.
Please see LICENSE.
This is not an officially supported Google product.