commit | 5ced2178a604511e01ff1b9afff649126c0b72a0 | [log] [tgz] |
---|---|---|
author | Dan Sinclair <dsinclair@google.com> | Tue Mar 17 03:54:07 2020 +0000 |
committer | Sarah Mashayekhi <sarahmashay@google.com> | Tue Mar 17 03:54:07 2020 +0000 |
tree | d85ec9f1dfd395c3134ea130ddb8f40b1ed3610c | |
parent | 43aab39237291dad2c432584658ca63397c51d99 [diff] |
Add TypeInitializerExpression tests This CL adds unit tests for the TypeInitializerExpression AST element. Bug: tint:11 Change-Id: I92790563c995038cc5a09afd03e84496b8f41487 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/16672 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.