commit | 37dbf99e34ac8a7b8309891b2a8c0155e1f2d492 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Wed Mar 11 18:43:12 2020 +0000 |
committer | David Neto <dneto@google.com> | Wed Mar 11 18:43:12 2020 +0000 |
tree | b929366dc00c9e12e29351a4222b99ce9bc7b147 | |
parent | ab0cdaf652d355b770dd2b19a2fe2d48a50a58c8 [diff] |
Always define TINT_BUILD_SPV_PARSER. This CL always sets the define for building the SPV_PARSER. This fixes undefined errors on certian platforms. Change-Id: I5f84295cb7ddf23d64efd9a4d00717c84bc698aa Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/16800 Reviewed-by: David Neto <dneto@google.com> Commit-Queue: 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.