commit | 3a1368dead06a0c97b6f462ec6338cb9715fac13 | [log] [tgz] |
---|---|---|
author | Dan Sinclair <dsinclair@google.com> | Tue Mar 10 17:47:56 2020 +0000 |
committer | dan sinclair <dsinclair@google.com> | Tue Mar 10 17:47:56 2020 +0000 |
tree | b83c9cb6e5eee3fab2b005ee2c987a79f3ffdea4 | |
parent | b893115c172f0f4d629f159578d47f99b73a1167 [diff] |
Add DecoratedVariable tests This CL adds tests for decorated variable and updates the API to be slightly nicer. Bug: tint:11 Change-Id: I0bd5b8b6e6f682dc9d405e02e51d5dbcaeccc5f3 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/16465 Commit-Queue: Sarah Mashayekhi <sarahmashay@google.com> 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.