• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2020 The Tint Authors.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 //     http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #ifndef INCLUDE_TINT_TINT_H_
16 #define INCLUDE_TINT_TINT_H_
17 
18 // TODO(tint:88): When implementing support for an install target, all of these
19 //                headers will need to be moved to include/tint/.
20 
21 #include "src/ast/pipeline_stage.h"
22 #include "src/demangler.h"
23 #include "src/diagnostic/printer.h"
24 #include "src/inspector/inspector.h"
25 #include "src/reader/reader.h"
26 #include "src/sem/type_manager.h"
27 #include "src/transform/binding_remapper.h"
28 #include "src/transform/first_index_offset.h"
29 #include "src/transform/fold_trivial_single_use_lets.h"
30 #include "src/transform/manager.h"
31 #include "src/transform/renamer.h"
32 #include "src/transform/robustness.h"
33 #include "src/transform/single_entry_point.h"
34 #include "src/transform/vertex_pulling.h"
35 #include "src/writer/writer.h"
36 
37 #if TINT_BUILD_SPV_READER
38 #include "src/reader/spirv/parser.h"
39 #endif  // TINT_BUILD_SPV_READER
40 
41 #if TINT_BUILD_WGSL_READER
42 #include "src/reader/wgsl/parser.h"
43 #endif  // TINT_BUILD_WGSL_READER
44 
45 #if TINT_BUILD_SPV_WRITER
46 #include "spirv-tools/libspirv.hpp"
47 #include "src/writer/spirv/generator.h"
48 #endif  // TINT_BUILD_SPV_WRITER
49 
50 #if TINT_BUILD_WGSL_WRITER
51 #include "src/writer/wgsl/generator.h"
52 #endif  // TINT_BUILD_WGSL_WRITER
53 
54 #if TINT_BUILD_MSL_WRITER
55 #include "src/writer/msl/generator.h"
56 #endif  // TINT_BUILD_MSL_WRITER
57 
58 #if TINT_BUILD_HLSL_WRITER
59 #include "src/writer/hlsl/generator.h"
60 #endif  // TINT_BUILD_HLSL_WRITER
61 
62 #if TINT_BUILD_GLSL_WRITER
63 #include "src/transform/glsl.h"
64 #include "src/writer/glsl/generator.h"
65 #endif  // TINT_BUILD_GLSL_WRITER
66 
67 #endif  // INCLUDE_TINT_TINT_H_
68