commit | f981455a1ccbaa1cf014fd8d3b247362d66bcaab | [log] [tgz] |
---|---|---|
author | Dan Sinclair <dsinclair@google.com> | Fri Mar 06 21:18:50 2020 +0000 |
committer | Dan Sinclair <dsinclair@chromium.org> | Fri Mar 06 21:18:50 2020 +0000 |
tree | 14e0b35084b9cc46c4551ad37e771205a88d4270 | |
parent | 11be14076b3c4397ab949baee6c3352efd06db28 [diff] |
Add ConstInitializerExpression tests This CL adds unit tests for the const initializer expression. Bug: tint:11 Change-Id: I9fb9dd77447ac20921997614816cd75272d4e05a Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/16463 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.