commit | 19e26f2fece81fb8eee2ede3623b96d38cf63f43 | [log] [tgz] |
---|---|---|
author | dan sinclair <dj2@everburning.com> | Thu Mar 05 16:35:25 2020 +0000 |
committer | dan sinclair <dsinclair@google.com> | Thu Mar 05 16:35:25 2020 +0000 |
tree | dcba9fc3c16f097877878f89e8e4e27a18e9ab50 | |
parent | db6ade73b2786a61da234a65c1c3e38c35066e42 [diff] |
Move build_module into an anonymous namespace This CL moves build_module into an anonymous namespace which fixes up a build warning about missing prototypes. Change-Id: I8b2f427e32e7851c24492099103565ab0119f4fa Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/16503 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.