commit | 91e57dd7d82631dce6a7bf5210c06db88eb18966 | [log] [tgz] |
---|---|---|
author | Dan Sinclair <dsinclair@google.com> | Thu Mar 05 16:35:40 2020 +0000 |
committer | dan sinclair <dsinclair@google.com> | Thu Mar 05 16:35:40 2020 +0000 |
tree | 915e10de7323db9247e788cef879088729edc4f6 | |
parent | 19e26f2fece81fb8eee2ede3623b96d38cf63f43 [diff] |
Add unit tests for AsExpression This CL adds unit tests for the as expression and fixes up a few issues along the way. Change-Id: I4591f31c1a48ea5580a87a129c728ef3c9be2c7c Bug: tint:11 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/16340 Reviewed-by: Sarah Mashayekhi <sarahmashay@google.com>
Tint is a compiler for the WebGPU Shader Language (WGSL).
This is not an officially supported Google product.
TINT_BUILD_SPV_PARSER
: enable the SPIR-V input parserTint uses Chromium dependency management so you need to install depot_tools and add it to your PATH.
# Clone the repo as "tint" git clone https://dawn.googlesource.com/tint tint && cd tint # Bootstrap the gclient configuration cp standalone.gclient .gclient # Fetch external dependencies and toolchains with gclient gclient sync
mkdir -p out/Debug cd out/Debug cmake -GNinja ../.. ninja # or autoninja
mkdir -p out/Debug cd out/Debug cmake ../.. make # -j N for N-way parallel build
Please file any issues or feature requests at https://bugs.chromium.org/p/tint/issues/entry
Please see the CONTRIBUTING and CODE_OF_CONDUCT files on how to contribute to Tint.