commit | 11be14076b3c4397ab949baee6c3352efd06db28 | [log] [tgz] |
---|---|---|
author | Dan Sinclair <dsinclair@google.com> | Fri Mar 06 21:18:19 2020 +0000 |
committer | Dan Sinclair <dsinclair@chromium.org> | Fri Mar 06 21:18:19 2020 +0000 |
tree | a04b510a9826b96d273579dfdf10acdebd1a1073 | |
parent | a659b2113d22dc72451e1cfa7eaaefcaca381bc2 [diff] |
Add cast expression tests This CL adds unit tests for the cast expression AST element. Bug: tint:11 Change-Id: Ia5d82a00ef2a4c16d6591095b7674f1c14a33c5f Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/16462 Commit-Queue: David Neto <dneto@google.com> Reviewed-by: David Neto <dneto@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.