commit | 45d585f5ae8f882a911d4bc5c3715f2ac70cfdd4 | [log] [tgz] |
---|---|---|
author | Dan Sinclair <dsinclair@google.com> | Tue Mar 17 14:59:46 2020 +0000 |
committer | Sarah Mashayekhi <sarahmashay@google.com> | Tue Mar 17 14:59:46 2020 +0000 |
tree | 5407e196f5d419ac620951b24698eef98c621a8d | |
parent | 1e31f161db804b6c824962ca58c6779fabcc4e42 [diff] |
Add unit test for VariableStatement. This CL adds unit tests for the VariableStatement AST element. Bug: tint:11 Change-Id: I36d1b134e4c1c93ee414c29e8bb8d5e7e9704da6 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/16760 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.