commit | 9c48ddb917cd1a8df57855a294ce0a58695b2a88 | [log] [tgz] |
---|---|---|
author | Dan Sinclair <dsinclair@google.com> | Tue Mar 10 19:19:18 2020 +0000 |
committer | dan sinclair <dsinclair@google.com> | Tue Mar 10 19:19:18 2020 +0000 |
tree | 8aa83b6f57d48f08c3bc84d74d868e2e4b8fcc72 | |
parent | cc9d7851e1c31994ad0aa2049d76a8932fe5a5c1 [diff] |
Add fallthrough statement tests This CL adds tests for the fallthrough statement. Bug: tint:11 Change-Id: I1bc8677e00aa9eb446a096bd2600104550480d77 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/16500 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.