Initial commit
285 files changed
tree: c8959d6ff150da83231c928b394d7fb65cfd9491
  1. fuzz/
  2. samples/
  3. src/
  4. test/
  5. third_party/
  6. tools/
  7. .clang-format
  8. .gitignore
  9. CMakeLists.txt
  10. CODE_OF_CONDUCT.md
  11. CONTRIBUTING.md
  12. CPPLINT.cfg
  13. DEPS
  14. Doxyfile
  15. LICENSE
  16. README.md
README.md

Tint

Tint is a compiler for the WebGPU Shader Language (WGSL).

This is not an officially supported Google product.

Requirements

  • Git
  • CMake (3.10.2 or later)
  • Ninja (or other build tool)
  • Python, for fetching dependencies

Build options

  • TINT_BUILD_SPV_PARSER : enable the SPIR-V input parser

Building

./tools/git-sync-deps
mkdir -p out/Debug
cd out/Debug
cmake -GNinja ../..
ninja

Contributing

Please see the CONTRIBUTING and CODE_OF_CONDUCT files on how to contribute to Tint.