commit | 43aab39237291dad2c432584658ca63397c51d99 | [log] [tgz] |
---|---|---|
author | Dan Sinclair <dsinclair@google.com> | Tue Mar 17 03:53:41 2020 +0000 |
committer | Sarah Mashayekhi <sarahmashay@google.com> | Tue Mar 17 03:53:41 2020 +0000 |
tree | 2f30fef473d06ed488dc400454e7988d49d34453 | |
parent | 097c3a544d02caefe2e4d812405c97300abbb0b3 [diff] |
Add SwitchStatement tests This CL adds tests to the SwitchStatement AST element. Bug: tint:11 Change-Id: I3e12667d14ab31cc15f6ea8595847f9daf55dc46 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/16682 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.