commit | 3040f618a591cbd33a9629845aa74c6b54356e73 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Tue Mar 17 20:38:18 2020 +0000 |
committer | dan sinclair <dsinclair@google.com> | Tue Mar 17 20:38:18 2020 +0000 |
tree | 7b7da4c59e9a54427c977e637b4112da2b3e2d37 | |
parent | 881cdede29a0c409179c26391a629435fdff6bd0 [diff] |
Remove assert in test. The `assert` will compile out in Release builds so we don't actually parse the module, which means we're always testing against an empty module and the tests fail. Bug: tint:22 Change-Id: I49a1f8fc8ec6231a65f4f17e385cff576c4f0d06 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/17204 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.