commit | ab0cdaf652d355b770dd2b19a2fe2d48a50a58c8 | [log] [tgz] |
---|---|---|
author | David Neto <dneto@google.com> | Tue Mar 10 22:54:46 2020 +0000 |
committer | dan sinclair <dsinclair@google.com> | Tue Mar 10 22:54:46 2020 +0000 |
tree | d2a20aeded4ca31ee77584882da1d822e6a699e8 | |
parent | f814bdc52ac7be2bd714e04c54467cb0904db6cb [diff] |
Add a FailStream error reporting helper Bug: tint:3 Change-Id: Ie0bb2365a7dd6b2a5e9d0960593fac7586b02922 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/16640 Reviewed-by: dan sinclair <dsinclair@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.