Use Tint public header
Roll third_party/tint/ be45ff508..b8f493005 (12 commits) https://dawn.googlesource.com/tint/+log/be45ff508124..b8f4930055df $ git log be45ff508..b8f493005 --date=short --no-merges --format='%ad %ae %s' 2020-06-16 rharrison Make #define values public in BUILD.gn 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-on: https://dawn-review.googlesource.com/c/dawn/+/23280 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
parent
3fe84b5b33
commit
1b3ed54ffb
2
DEPS
2
DEPS
|
@ -85,7 +85,7 @@ deps = {
|
|||
|
||||
# WGSL support
|
||||
'third_party/tint': {
|
||||
'url': '{dawn_git}/tint@be45ff508124e1eaf17f7d65c0afbe53cdb31689',
|
||||
'url': '{dawn_git}/tint@b8f4930055dffebe2a81f142197cece65d90c091',
|
||||
'condition': 'dawn_standalone',
|
||||
},
|
||||
|
||||
|
|
|
@ -24,14 +24,10 @@
|
|||
#include <spirv_cross.hpp>
|
||||
|
||||
#ifdef DAWN_ENABLE_WGSL
|
||||
// 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
|
||||
|
||||
|
|
Loading…
Reference in New Issue