v-0001: Only allowed import is GLSL.std.450

Bug: tint:10

Change-Id: I566ff378c4cd72febc0a73434b5dfe1039ef2c42
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/16420
Reviewed-by: Dan Sinclair <dsinclair@google.com>
Commit-Queue: Dan Sinclair <dsinclair@google.com>
7 files changed
tree: 0cdcbce8be07b00890fe4835250ad6cb9db3f728
  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.