commit | 619935f7f249a41c6c839653fe1ad2045fc1c5b4 | [log] [tgz] |
---|---|---|
author | Ryan Harrison <rharrison@chromium.org> | Tue Sep 10 21:28:49 2019 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Tue Sep 10 21:28:49 2019 +0000 |
tree | 90b1f06c38996b303372b62ad1ae352668711c15 | |
parent | f60522f5a4670f98e6d459a677122a2d4f89f3ad [diff] |
Rolling 4 dependencies Roll third_party/SPIRV-Tools/ 19b256616..e2e95172d (9 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools/+log/19b256616d96..e2e95172dffb $ git log 19b256616..e2e95172d --date=short --no-merges --format='%ad %ae %s' 2019-09-10 afdx Rework management of probabilities in spirv-fuzz (#2839) 2019-09-10 afdx Fix add-dead-break and add-dead-continue passes to respect dominance (#2838) 2019-09-10 stevenperron Handle id overflow in the ssa rewriter. (#2845) 2019-09-09 stevenperron Handle id overflow in the constant manager. (#2844) 2019-09-09 alanbaker Add generic builtin validation of target (#2843) 2019-09-09 stevenperron Don't register duplicate decoration in validator. (#2841) 2019-09-06 stevenperron Replace CubeFaceCoord and CubeFaceIndexAMD (#2840) 2019-09-05 stevenperron Fold Min, Max, and Clamp instructions. (#2836) 2019-09-05 stevenperron Replace uses of SPV_AMD_shader_trinary_minmax extension (#2835) Roll third_party/glslang/ 56f61ccce..664ad418f (2 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang/+log/56f61ccceffa..664ad418f845 $ git log 56f61ccce..664ad418f --date=short --no-merges --format='%ad %ae %s' 2019-09-05 cepheus Fix #1879: Check for valid variable before checking for unsized arrays. 2019-09-04 greg Update spirv-tools and spriv-headers known good. Roll third_party/shaderc/ 3b038fa1c..4baa46a5d (3 commits) https://chromium.googlesource.com/external/github.com/google/shaderc/+log/3b038fa1c317..4baa46a5d104 $ git log 3b038fa1c..4baa46a5d --date=short --no-merges --format='%ad %ae %s' 2019-09-09 zoddicus Rolling 4 dependencies and update known_failures (#803) 2019-09-06 zoddicus Improve testing .asm., .nocompat., and .vk. chases (#797) 2019-09-05 zoddicus Remove unsetting compiler check variables (#801) Roll third_party/spirv-cross/ f24654db8..b32a1b415 (8 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross/+log/f24654db8c6d..b32a1b415043 $ git log f24654db8..b32a1b415 --date=short --no-merges --format='%ad %ae %s' 2019-09-06 wadetb MSL: Fix array copies to/from interpolators 2019-09-06 post Run format_all.sh. 2019-09-05 post Refactor into stronger types in public API. 2019-09-06 post Add dynamic offsets to C API. 2019-09-06 post Fix some issues on certain compilers. 2019-09-05 cdavis MSL: Support dynamic offsets for buffers in argument buffers. 2019-09-04 cdavis MSL: Force storage images on iOS to use discrete descriptors. 2019-09-05 lifeng.pan Fix ParsedIR::mark_used_as_array_length(uint32_t id) Created with: roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers Change-Id: Id2e571ec15c78a43e3e435f25a0e8299ce82f623 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/11100 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Kai Ninomiya <kainino@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.