commit | 1e31f161db804b6c824962ca58c6779fabcc4e42 | [log] [tgz] |
---|---|---|
author | Dan Sinclair <dsinclair@google.com> | Tue Mar 17 14:59:06 2020 +0000 |
committer | Sarah Mashayekhi <sarahmashay@google.com> | Tue Mar 17 14:59:06 2020 +0000 |
tree | effc6aa76a3807b5a1f5ff6587fce98a7a5c6b51 | |
parent | 02d94b2903c54ff8e510f7ba4fe6147b46b55f92 [diff] |
Add Variable test for invalid initializer. This CL adds a test to the variable AST node to verify the initializer is valid. Bug: tint:11 Change-Id: I95553e8572124e8e2e861b451003e5c9bf6358f1 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/16743 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.