commit | 7267a851bf375c66faa709f6cc0f177817bb2441 | [log] [tgz] |
---|---|---|
author | Dan Sinclair <dsinclair@google.com> | Tue Mar 17 03:51:29 2020 +0000 |
committer | Sarah Mashayekhi <sarahmashay@google.com> | Tue Mar 17 03:51:29 2020 +0000 |
tree | d3a9bd64e0362c3f1fd52fd58fb31586f433f2e5 | |
parent | 33306e1fd1abf2bc1bb7e42470aafe20b070f7ab [diff] |
Add ReturnStatement test This CL adds tests for the ReturnStatement AST node. Bug: tint:11 Change-Id: Ib20e38e67e07e0ae03d359619cc260bc8d6e3a3b Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/16668 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.