commit | e4392c9ab553b5e585bf6822e47a037808522383 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Tue Mar 17 21:00:22 2020 +0000 |
committer | David Neto <dneto@google.com> | Tue Mar 17 21:00:22 2020 +0000 |
tree | a69a8dfecad24d41d1ff640a52322d303813a654 | |
parent | 3040f618a591cbd33a9629845aa74c6b54356e73 [diff] |
Create SPIR-V writer skeleton. This CL creates the skeleton for the SPIR-V writer. Bug: tint:5 Change-Id: I849d8766d32d48314a51096710272f9821e2c1c4 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/16641 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.