Use Tint public header

Roll third_party/tint/ be45ff508..b8f493005 (12 commits)

$ git log be45ff508..b8f493005 --date=short --no-merges --format='%ad %ae %s'
2020-06-16 rharrison Make #define values public in
2020-06-16 dj2 Cleanup formatting and linter.
2020-06-16 dneto [spirv-reader] Support ifbreak with other forward edge
2020-06-16 dneto [spirv-reader] Add Namer::MakeDerivedName
2020-06-16 dneto [spirv-reader] Update TODOs in test matrix
2020-06-16 dneto [spirv-reader] Add OpCompositeExtract
2020-06-15 dsinclair [spirv-writer] Allow emitting an array stride.
2020-06-15 dsinclair Determine types for module scoped variable constructors.
2020-06-12 dneto [spirv-reader] Add OpCompositeConstruct
2020-06-12 dneto [spirv-reader] First GLSL.std.450 instructions
2020-06-11 dneto [spirv-reader] Add fallthrough
2020-06-11 dneto [spirv-reader] Add switch-selection

Created with:
  roll-dep third_party/tint

Change-Id: Ia529ee3c49e426715b09d5e0c2546061d7979c17
Reviewed-by: Austin Eng <>
Commit-Queue: Ryan Harrison <>
diff --git a/DEPS b/DEPS
index 1be5785..8779f76 100644
--- a/DEPS
+++ b/DEPS
@@ -85,7 +85,7 @@
   # WGSL support
   'third_party/tint': {
-    'url': '{dawn_git}/tint@be45ff508124e1eaf17f7d65c0afbe53cdb31689',
+    'url': '{dawn_git}/tint@b8f4930055dffebe2a81f142197cece65d90c091',
     'condition': 'dawn_standalone',
diff --git a/src/dawn_native/ShaderModule.cpp b/src/dawn_native/ShaderModule.cpp
index 5c8dc33..a2b4e76 100644
--- a/src/dawn_native/ShaderModule.cpp
+++ b/src/dawn_native/ShaderModule.cpp
@@ -24,14 +24,10 @@
 #include <spirv_cross.hpp>
-// Tint includes must be after spirv_cross.hpp, because spirv-cross has its own
+// Tint include must be after spirv_cross.hpp, because spirv-cross has its own
 // version of spirv_headers.
 // clang-format off
-#include "tint/src/reader/wgsl/parser.h"
-#include "tint/src/type_determiner.h"
-#include "tint/src/validator.h"
-#include "tint/src/writer/spirv/generator.h"
-#include "tint/src/writer/writer.h"
+#include <tint/tint.h>
 // clang-format on
 #endif  // DAWN_ENABLE_WGSL