commit | bb521c0b24ee1c5629f2e8b94465047ce6345a9d | [log] [tgz] |
---|---|---|
author | Dan Sinclair <dsinclair@google.com> | Mon Mar 16 13:39:44 2020 +0000 |
committer | Sarah Mashayekhi <sarahmashay@google.com> | Mon Mar 16 13:39:44 2020 +0000 |
tree | 4c06fdadc8ed37698febd807efdafe0587563d5f | |
parent | 3d1e69767a688c95ae0afcf17d9838603db994d1 [diff] |
Add tests for if statement AST This CL adds tests for the if statement AST node. Bug: tint:11 Change-Id: Ice3f281e1dfd72d76f43767f7b3040af862f4a58 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/16540 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.