Move type/* files to sem/ directory
Bug: tint:724
Change-Id: I45d83d32dbce1fbee265810615c18219ef879b20
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/48363
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
diff --git a/include/tint/tint.h b/include/tint/tint.h
index d8c5233..fa40734 100644
--- a/include/tint/tint.h
+++ b/include/tint/tint.h
@@ -23,6 +23,7 @@
#include "src/diagnostic/printer.h"
#include "src/inspector/inspector.h"
#include "src/reader/reader.h"
+#include "src/sem/type_manager.h"
#include "src/transform/binding_remapper.h"
#include "src/transform/bound_array_accessors.h"
#include "src/transform/emit_vertex_point_size.h"
@@ -30,7 +31,6 @@
#include "src/transform/manager.h"
#include "src/transform/renamer.h"
#include "src/transform/vertex_pulling.h"
-#include "src/type/type_manager.h"
#include "src/writer/writer.h"
#if TINT_BUILD_SPV_READER
diff --git a/src/BUILD.gn b/src/BUILD.gn
index 8a54ecc..1914280 100644
--- a/src/BUILD.gn
+++ b/src/BUILD.gn
@@ -430,6 +430,48 @@
"resolver/resolver.cc",
"resolver/resolver.h",
"scope_stack.h",
+ "sem/access_control_type.cc",
+ "sem/access_control_type.h",
+ "sem/alias_type.cc",
+ "sem/alias_type.h",
+ "sem/array_type.cc",
+ "sem/array_type.h",
+ "sem/bool_type.cc",
+ "sem/bool_type.h",
+ "sem/depth_texture_type.cc",
+ "sem/depth_texture_type.h",
+ "sem/external_texture_type.cc",
+ "sem/external_texture_type.h",
+ "sem/f32_type.cc",
+ "sem/f32_type.h",
+ "sem/i32_type.cc",
+ "sem/i32_type.h",
+ "sem/matrix_type.cc",
+ "sem/matrix_type.h",
+ "sem/multisampled_texture_type.cc",
+ "sem/multisampled_texture_type.h",
+ "sem/pointer_type.cc",
+ "sem/pointer_type.h",
+ "sem/sampled_texture_type.cc",
+ "sem/sampled_texture_type.h",
+ "sem/sampler_type.cc",
+ "sem/sampler_type.h",
+ "sem/storage_texture_type.cc",
+ "sem/storage_texture_type.h",
+ "sem/struct_type.cc",
+ "sem/struct_type.h",
+ "sem/texture_type.cc",
+ "sem/texture_type.h",
+ "sem/type.cc",
+ "sem/type.h",
+ "sem/type_manager.cc",
+ "sem/type_manager.h",
+ "sem/u32_type.cc",
+ "sem/u32_type.h",
+ "sem/vector_type.cc",
+ "sem/vector_type.h",
+ "sem/void_type.cc",
+ "sem/void_type.h",
"source.cc",
"source.h",
"symbol.cc",
@@ -460,48 +502,6 @@
"transform/transform.h",
"transform/vertex_pulling.cc",
"transform/vertex_pulling.h",
- "type/access_control_type.cc",
- "type/access_control_type.h",
- "type/alias_type.cc",
- "type/alias_type.h",
- "type/array_type.cc",
- "type/array_type.h",
- "type/bool_type.cc",
- "type/bool_type.h",
- "type/depth_texture_type.cc",
- "type/depth_texture_type.h",
- "type/external_texture_type.cc",
- "type/external_texture_type.h",
- "type/f32_type.cc",
- "type/f32_type.h",
- "type/i32_type.cc",
- "type/i32_type.h",
- "type/matrix_type.cc",
- "type/matrix_type.h",
- "type/multisampled_texture_type.cc",
- "type/multisampled_texture_type.h",
- "type/pointer_type.cc",
- "type/pointer_type.h",
- "type/sampled_texture_type.cc",
- "type/sampled_texture_type.h",
- "type/sampler_type.cc",
- "type/sampler_type.h",
- "type/storage_texture_type.cc",
- "type/storage_texture_type.h",
- "type/struct_type.cc",
- "type/struct_type.h",
- "type/texture_type.cc",
- "type/texture_type.h",
- "type/type.cc",
- "type/type.h",
- "type/type_manager.cc",
- "type/type_manager.h",
- "type/u32_type.cc",
- "type/u32_type.h",
- "type/vector_type.cc",
- "type/vector_type.h",
- "type/void_type.cc",
- "type/void_type.h",
"utils/get_or_create.h",
"utils/hash.h",
"utils/math.h",
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 1c5b27f..cac6fbe 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -238,48 +238,48 @@
transform/transform.h
transform/vertex_pulling.cc
transform/vertex_pulling.h
- type/access_control_type.cc
- type/access_control_type.h
- type/alias_type.cc
- type/alias_type.h
- type/array_type.cc
- type/array_type.h
- type/bool_type.cc
- type/bool_type.h
- type/depth_texture_type.cc
- type/depth_texture_type.h
- type/external_texture_type.cc
- type/external_texture_type.h
- type/f32_type.cc
- type/f32_type.h
- type/i32_type.cc
- type/i32_type.h
- type/matrix_type.cc
- type/matrix_type.h
- type/multisampled_texture_type.cc
- type/multisampled_texture_type.h
- type/pointer_type.cc
- type/pointer_type.h
- type/sampled_texture_type.cc
- type/sampled_texture_type.h
- type/sampler_type.cc
- type/sampler_type.h
- type/storage_texture_type.cc
- type/storage_texture_type.h
- type/struct_type.cc
- type/struct_type.h
- type/texture_type.cc
- type/texture_type.h
- type/type.cc
- type/type.h
- type/type_manager.cc
- type/type_manager.h
- type/u32_type.cc
- type/u32_type.h
- type/vector_type.cc
- type/vector_type.h
- type/void_type.cc
- type/void_type.h
+ sem/access_control_type.cc
+ sem/access_control_type.h
+ sem/alias_type.cc
+ sem/alias_type.h
+ sem/array_type.cc
+ sem/array_type.h
+ sem/bool_type.cc
+ sem/bool_type.h
+ sem/depth_texture_type.cc
+ sem/depth_texture_type.h
+ sem/external_texture_type.cc
+ sem/external_texture_type.h
+ sem/f32_type.cc
+ sem/f32_type.h
+ sem/i32_type.cc
+ sem/i32_type.h
+ sem/matrix_type.cc
+ sem/matrix_type.h
+ sem/multisampled_texture_type.cc
+ sem/multisampled_texture_type.h
+ sem/pointer_type.cc
+ sem/pointer_type.h
+ sem/sampled_texture_type.cc
+ sem/sampled_texture_type.h
+ sem/sampler_type.cc
+ sem/sampler_type.h
+ sem/storage_texture_type.cc
+ sem/storage_texture_type.h
+ sem/struct_type.cc
+ sem/struct_type.h
+ sem/texture_type.cc
+ sem/texture_type.h
+ sem/type.cc
+ sem/type.h
+ sem/type_manager.cc
+ sem/type_manager.h
+ sem/u32_type.cc
+ sem/u32_type.h
+ sem/vector_type.cc
+ sem/vector_type.h
+ sem/void_type.cc
+ sem/void_type.h
utils/get_or_create.h
utils/hash.h
utils/math.h
@@ -503,25 +503,25 @@
symbol_test.cc
traits_test.cc
test_main.cc
- type/access_control_type_test.cc
- type/alias_type_test.cc
- type/array_type_test.cc
- type/bool_type_test.cc
- type/depth_texture_type_test.cc
- type/external_texture_type_test.cc
- type/f32_type_test.cc
- type/i32_type_test.cc
- type/matrix_type_test.cc
- type/multisampled_texture_type_test.cc
- type/pointer_type_test.cc
- type/sampled_texture_type_test.cc
- type/sampler_type_test.cc
- type/storage_texture_type_test.cc
- type/struct_type_test.cc
- type/texture_type_test.cc
- type/type_manager_test.cc
- type/u32_type_test.cc
- type/vector_type_test.cc
+ sem/access_control_type_test.cc
+ sem/alias_type_test.cc
+ sem/array_type_test.cc
+ sem/bool_type_test.cc
+ sem/depth_texture_type_test.cc
+ sem/external_texture_type_test.cc
+ sem/f32_type_test.cc
+ sem/i32_type_test.cc
+ sem/matrix_type_test.cc
+ sem/multisampled_texture_type_test.cc
+ sem/pointer_type_test.cc
+ sem/sampled_texture_type_test.cc
+ sem/sampler_type_test.cc
+ sem/storage_texture_type_test.cc
+ sem/struct_type_test.cc
+ sem/texture_type_test.cc
+ sem/type_manager_test.cc
+ sem/u32_type_test.cc
+ sem/vector_type_test.cc
utils/command_${TINT_OS_CC_SUFFIX}.cc
utils/command_test.cc
utils/command.h
diff --git a/src/ast/expression.h b/src/ast/expression.h
index bfa766f..0db419f 100644
--- a/src/ast/expression.h
+++ b/src/ast/expression.h
@@ -19,7 +19,7 @@
#include <vector>
#include "src/ast/node.h"
-#include "src/type/type.h"
+#include "src/sem/type.h"
namespace tint {
namespace ast {
diff --git a/src/ast/intrinsic_texture_helper_test.cc b/src/ast/intrinsic_texture_helper_test.cc
index f9be5ba..e044cd6 100644
--- a/src/ast/intrinsic_texture_helper_test.cc
+++ b/src/ast/intrinsic_texture_helper_test.cc
@@ -14,10 +14,10 @@
#include "src/ast/intrinsic_texture_helper_test.h"
-#include "src/type/access_control_type.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/multisampled_texture_type.h"
-#include "src/type/sampled_texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/depth_texture_type.h"
+#include "src/sem/multisampled_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
namespace tint {
namespace ast {
diff --git a/src/ast/intrinsic_texture_helper_test.h b/src/ast/intrinsic_texture_helper_test.h
index 4ff154e..e5c5628 100644
--- a/src/ast/intrinsic_texture_helper_test.h
+++ b/src/ast/intrinsic_texture_helper_test.h
@@ -19,7 +19,7 @@
#include "src/ast/access_control.h"
#include "src/program_builder.h"
-#include "src/type/storage_texture_type.h"
+#include "src/sem/storage_texture_type.h"
namespace tint {
namespace ast {
diff --git a/src/inspector/inspector.cc b/src/inspector/inspector.cc
index 34983cd..6889416 100644
--- a/src/inspector/inspector.cc
+++ b/src/inspector/inspector.cc
@@ -23,21 +23,21 @@
#include "src/ast/scalar_constructor_expression.h"
#include "src/ast/sint_literal.h"
#include "src/ast/uint_literal.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/array_type.h"
+#include "src/sem/f32_type.h"
#include "src/sem/function.h"
+#include "src/sem/i32_type.h"
+#include "src/sem/matrix_type.h"
+#include "src/sem/multisampled_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
+#include "src/sem/storage_texture_type.h"
#include "src/sem/struct.h"
+#include "src/sem/struct_type.h"
+#include "src/sem/u32_type.h"
#include "src/sem/variable.h"
-#include "src/type/access_control_type.h"
-#include "src/type/array_type.h"
-#include "src/type/f32_type.h"
-#include "src/type/i32_type.h"
-#include "src/type/matrix_type.h"
-#include "src/type/multisampled_texture_type.h"
-#include "src/type/sampled_texture_type.h"
-#include "src/type/storage_texture_type.h"
-#include "src/type/struct_type.h"
-#include "src/type/u32_type.h"
-#include "src/type/vector_type.h"
-#include "src/type/void_type.h"
+#include "src/sem/vector_type.h"
+#include "src/sem/void_type.h"
namespace tint {
namespace inspector {
diff --git a/src/inspector/inspector_test.cc b/src/inspector/inspector_test.cc
index 54c5838..f02f1f3 100644
--- a/src/inspector/inspector_test.cc
+++ b/src/inspector/inspector_test.cc
@@ -18,9 +18,9 @@
#include "src/ast/stage_decoration.h"
#include "src/ast/struct_block_decoration.h"
#include "src/ast/workgroup_decoration.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/multisampled_texture_type.h"
-#include "src/type/sampled_texture_type.h"
+#include "src/sem/depth_texture_type.h"
+#include "src/sem/multisampled_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
#include "tint/tint.h"
namespace tint {
diff --git a/src/intrinsic_table.cc b/src/intrinsic_table.cc
index 004bcbe..db7dc54 100644
--- a/src/intrinsic_table.cc
+++ b/src/intrinsic_table.cc
@@ -20,11 +20,11 @@
#include <utility>
#include "src/program_builder.h"
-#include "src/type/access_control_type.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/multisampled_texture_type.h"
-#include "src/type/sampled_texture_type.h"
-#include "src/type/storage_texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/depth_texture_type.h"
+#include "src/sem/multisampled_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
+#include "src/sem/storage_texture_type.h"
namespace tint {
namespace {
diff --git a/src/intrinsic_table_test.cc b/src/intrinsic_table_test.cc
index 0b62d46..1fc730e 100644
--- a/src/intrinsic_table_test.cc
+++ b/src/intrinsic_table_test.cc
@@ -16,11 +16,11 @@
#include "gmock/gmock.h"
#include "src/program_builder.h"
-#include "src/type/access_control_type.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/multisampled_texture_type.h"
-#include "src/type/sampled_texture_type.h"
-#include "src/type/storage_texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/depth_texture_type.h"
+#include "src/sem/multisampled_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
+#include "src/sem/storage_texture_type.h"
namespace tint {
namespace {
diff --git a/src/program.h b/src/program.h
index 9f666f1..3cdc081 100644
--- a/src/program.h
+++ b/src/program.h
@@ -20,8 +20,8 @@
#include "src/ast/function.h"
#include "src/program_id.h"
#include "src/sem/info.h"
+#include "src/sem/type_manager.h"
#include "src/symbol_table.h"
-#include "src/type/type_manager.h"
namespace tint {
diff --git a/src/program_builder.h b/src/program_builder.h
index b66e904..e5dbe14 100644
--- a/src/program_builder.h
+++ b/src/program_builder.h
@@ -43,18 +43,18 @@
#include "src/ast/variable_decl_statement.h"
#include "src/program.h"
#include "src/program_id.h"
-#include "src/type/access_control_type.h"
-#include "src/type/alias_type.h"
-#include "src/type/array_type.h"
-#include "src/type/bool_type.h"
-#include "src/type/f32_type.h"
-#include "src/type/i32_type.h"
-#include "src/type/matrix_type.h"
-#include "src/type/pointer_type.h"
-#include "src/type/struct_type.h"
-#include "src/type/u32_type.h"
-#include "src/type/vector_type.h"
-#include "src/type/void_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/alias_type.h"
+#include "src/sem/array_type.h"
+#include "src/sem/bool_type.h"
+#include "src/sem/f32_type.h"
+#include "src/sem/i32_type.h"
+#include "src/sem/matrix_type.h"
+#include "src/sem/pointer_type.h"
+#include "src/sem/struct_type.h"
+#include "src/sem/u32_type.h"
+#include "src/sem/vector_type.h"
+#include "src/sem/void_type.h"
namespace tint {
diff --git a/src/reader/spirv/enum_converter.h b/src/reader/spirv/enum_converter.h
index 1fd535e..12ac904 100644
--- a/src/reader/spirv/enum_converter.h
+++ b/src/reader/spirv/enum_converter.h
@@ -20,7 +20,7 @@
#include "src/ast/pipeline_stage.h"
#include "src/ast/storage_class.h"
#include "src/reader/spirv/fail_stream.h"
-#include "src/type/storage_texture_type.h"
+#include "src/sem/storage_texture_type.h"
namespace tint {
namespace reader {
diff --git a/src/reader/spirv/function.cc b/src/reader/spirv/function.cc
index d66cd4e..7e6608f 100644
--- a/src/reader/spirv/function.cc
+++ b/src/reader/spirv/function.cc
@@ -31,8 +31,8 @@
#include "src/ast/switch_statement.h"
#include "src/ast/unary_op_expression.h"
#include "src/ast/variable_decl_statement.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/sampled_texture_type.h"
+#include "src/sem/depth_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
// Terms:
// CFG: the control flow graph of the function, where basic blocks are the
diff --git a/src/reader/spirv/parser_impl.cc b/src/reader/spirv/parser_impl.cc
index f031a0e..87315ca 100644
--- a/src/reader/spirv/parser_impl.cc
+++ b/src/reader/spirv/parser_impl.cc
@@ -22,10 +22,10 @@
#include "src/ast/constant_id_decoration.h"
#include "src/ast/struct_block_decoration.h"
#include "src/reader/spirv/function.h"
-#include "src/type/access_control_type.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/multisampled_texture_type.h"
-#include "src/type/sampled_texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/depth_texture_type.h"
+#include "src/sem/multisampled_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
namespace tint {
namespace reader {
diff --git a/src/reader/wgsl/parser_impl.cc b/src/reader/wgsl/parser_impl.cc
index 24cdda8..d230a95 100644
--- a/src/reader/wgsl/parser_impl.cc
+++ b/src/reader/wgsl/parser_impl.cc
@@ -24,10 +24,10 @@
#include "src/ast/unary_op_expression.h"
#include "src/ast/workgroup_decoration.h"
#include "src/reader/wgsl/lexer.h"
-#include "src/type/access_control_type.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/multisampled_texture_type.h"
-#include "src/type/sampled_texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/depth_texture_type.h"
+#include "src/sem/multisampled_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
namespace tint {
namespace reader {
diff --git a/src/reader/wgsl/parser_impl.h b/src/reader/wgsl/parser_impl.h
index 7c7a7e3..b15fd16 100644
--- a/src/reader/wgsl/parser_impl.h
+++ b/src/reader/wgsl/parser_impl.h
@@ -35,7 +35,7 @@
#include "src/program_builder.h"
#include "src/reader/wgsl/parser_impl_detail.h"
#include "src/reader/wgsl/token.h"
-#include "src/type/storage_texture_type.h"
+#include "src/sem/storage_texture_type.h"
namespace tint {
namespace reader {
diff --git a/src/reader/wgsl/parser_impl_depth_texture_type_test.cc b/src/reader/wgsl/parser_impl_depth_texture_type_test.cc
index b4ddc85..a9300b4 100644
--- a/src/reader/wgsl/parser_impl_depth_texture_type_test.cc
+++ b/src/reader/wgsl/parser_impl_depth_texture_type_test.cc
@@ -13,7 +13,7 @@
// limitations under the License.
#include "src/reader/wgsl/parser_impl_test_helper.h"
-#include "src/type/depth_texture_type.h"
+#include "src/sem/depth_texture_type.h"
namespace tint {
namespace reader {
diff --git a/src/reader/wgsl/parser_impl_texture_sampler_types_test.cc b/src/reader/wgsl/parser_impl_texture_sampler_types_test.cc
index a4378b9..125dcce 100644
--- a/src/reader/wgsl/parser_impl_texture_sampler_types_test.cc
+++ b/src/reader/wgsl/parser_impl_texture_sampler_types_test.cc
@@ -13,9 +13,9 @@
// limitations under the License.
#include "src/reader/wgsl/parser_impl_test_helper.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/multisampled_texture_type.h"
-#include "src/type/sampled_texture_type.h"
+#include "src/sem/depth_texture_type.h"
+#include "src/sem/multisampled_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
namespace tint {
namespace reader {
diff --git a/src/reader/wgsl/parser_impl_type_decl_test.cc b/src/reader/wgsl/parser_impl_type_decl_test.cc
index ba1b589..4357774 100644
--- a/src/reader/wgsl/parser_impl_type_decl_test.cc
+++ b/src/reader/wgsl/parser_impl_type_decl_test.cc
@@ -13,7 +13,7 @@
// limitations under the License.
#include "src/reader/wgsl/parser_impl_test_helper.h"
-#include "src/type/sampled_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
namespace tint {
namespace reader {
diff --git a/src/reader/wgsl/parser_impl_variable_ident_decl_test.cc b/src/reader/wgsl/parser_impl_variable_ident_decl_test.cc
index 4efdac3..3270881 100644
--- a/src/reader/wgsl/parser_impl_variable_ident_decl_test.cc
+++ b/src/reader/wgsl/parser_impl_variable_ident_decl_test.cc
@@ -14,7 +14,7 @@
#include "src/ast/struct_block_decoration.h"
#include "src/reader/wgsl/parser_impl_test_helper.h"
-#include "src/type/access_control_type.h"
+#include "src/sem/access_control_type.h"
namespace tint {
namespace reader {
diff --git a/src/resolver/assignment_validation_test.cc b/src/resolver/assignment_validation_test.cc
index 875e379..2dbbd67 100644
--- a/src/resolver/assignment_validation_test.cc
+++ b/src/resolver/assignment_validation_test.cc
@@ -16,8 +16,8 @@
#include "gmock/gmock.h"
#include "src/resolver/resolver_test_helper.h"
-#include "src/type/access_control_type.h"
-#include "src/type/storage_texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/storage_texture_type.h"
namespace tint {
namespace resolver {
diff --git a/src/resolver/host_shareable_validation_test.cc b/src/resolver/host_shareable_validation_test.cc
index 85b67cd..0f6fa06 100644
--- a/src/resolver/host_shareable_validation_test.cc
+++ b/src/resolver/host_shareable_validation_test.cc
@@ -17,8 +17,8 @@
#include "gmock/gmock.h"
#include "src/ast/struct_block_decoration.h"
#include "src/resolver/resolver_test_helper.h"
+#include "src/sem/access_control_type.h"
#include "src/sem/struct.h"
-#include "src/type/access_control_type.h"
namespace tint {
namespace resolver {
diff --git a/src/resolver/intrinsic_test.cc b/src/resolver/intrinsic_test.cc
index 5d96e6b..be4d80d 100644
--- a/src/resolver/intrinsic_test.cc
+++ b/src/resolver/intrinsic_test.cc
@@ -30,13 +30,13 @@
#include "src/ast/unary_op_expression.h"
#include "src/ast/variable_decl_statement.h"
#include "src/resolver/resolver_test_helper.h"
+#include "src/sem/access_control_type.h"
#include "src/sem/call.h"
#include "src/sem/function.h"
#include "src/sem/member_accessor_expression.h"
+#include "src/sem/sampled_texture_type.h"
#include "src/sem/statement.h"
#include "src/sem/variable.h"
-#include "src/type/access_control_type.h"
-#include "src/type/sampled_texture_type.h"
using ::testing::ElementsAre;
using ::testing::HasSubstr;
diff --git a/src/resolver/is_host_shareable_test.cc b/src/resolver/is_host_shareable_test.cc
index 707e1da..1d5d53d 100644
--- a/src/resolver/is_host_shareable_test.cc
+++ b/src/resolver/is_host_shareable_test.cc
@@ -16,7 +16,7 @@
#include "gmock/gmock.h"
#include "src/resolver/resolver_test_helper.h"
-#include "src/type/access_control_type.h"
+#include "src/sem/access_control_type.h"
namespace tint {
namespace resolver {
diff --git a/src/resolver/is_storeable_test.cc b/src/resolver/is_storeable_test.cc
index f0d15c1..4e357dc 100644
--- a/src/resolver/is_storeable_test.cc
+++ b/src/resolver/is_storeable_test.cc
@@ -16,7 +16,7 @@
#include "gmock/gmock.h"
#include "src/resolver/resolver_test_helper.h"
-#include "src/type/access_control_type.h"
+#include "src/sem/access_control_type.h"
namespace tint {
namespace resolver {
diff --git a/src/resolver/resolver.cc b/src/resolver/resolver.cc
index 56ce2a7..424c73e 100644
--- a/src/resolver/resolver.cc
+++ b/src/resolver/resolver.cc
@@ -35,6 +35,7 @@
#include "src/ast/unary_op_expression.h"
#include "src/ast/variable_decl_statement.h"
#include "src/ast/workgroup_decoration.h"
+#include "src/sem/access_control_type.h"
#include "src/sem/array.h"
#include "src/sem/call.h"
#include "src/sem/function.h"
@@ -42,7 +43,6 @@
#include "src/sem/statement.h"
#include "src/sem/struct.h"
#include "src/sem/variable.h"
-#include "src/type/access_control_type.h"
#include "src/utils/get_or_create.h"
#include "src/utils/math.h"
diff --git a/src/resolver/resolver_test.cc b/src/resolver/resolver_test.cc
index 47f8654..6ea8536 100644
--- a/src/resolver/resolver_test.cc
+++ b/src/resolver/resolver_test.cc
@@ -33,13 +33,13 @@
#include "src/ast/unary_op_expression.h"
#include "src/ast/variable_decl_statement.h"
#include "src/resolver/resolver_test_helper.h"
+#include "src/sem/access_control_type.h"
#include "src/sem/call.h"
#include "src/sem/function.h"
#include "src/sem/member_accessor_expression.h"
+#include "src/sem/sampled_texture_type.h"
#include "src/sem/statement.h"
#include "src/sem/variable.h"
-#include "src/type/access_control_type.h"
-#include "src/type/sampled_texture_type.h"
using ::testing::ElementsAre;
using ::testing::HasSubstr;
diff --git a/src/resolver/storage_class_validation_test.cc b/src/resolver/storage_class_validation_test.cc
index 5dfdd18..931b23a 100644
--- a/src/resolver/storage_class_validation_test.cc
+++ b/src/resolver/storage_class_validation_test.cc
@@ -17,8 +17,8 @@
#include "gmock/gmock.h"
#include "src/ast/struct_block_decoration.h"
#include "src/resolver/resolver_test_helper.h"
+#include "src/sem/access_control_type.h"
#include "src/sem/struct.h"
-#include "src/type/access_control_type.h"
namespace tint {
namespace resolver {
diff --git a/src/resolver/validation_test.cc b/src/resolver/validation_test.cc
index 4c26d0b..b67eea4 100644
--- a/src/resolver/validation_test.cc
+++ b/src/resolver/validation_test.cc
@@ -29,13 +29,13 @@
#include "src/ast/unary_op_expression.h"
#include "src/ast/variable_decl_statement.h"
#include "src/resolver/resolver_test_helper.h"
+#include "src/sem/access_control_type.h"
#include "src/sem/call.h"
#include "src/sem/function.h"
#include "src/sem/member_accessor_expression.h"
+#include "src/sem/sampled_texture_type.h"
#include "src/sem/statement.h"
#include "src/sem/variable.h"
-#include "src/type/access_control_type.h"
-#include "src/type/sampled_texture_type.h"
using ::testing::ElementsAre;
using ::testing::HasSubstr;
diff --git a/src/type/access_control_type.cc b/src/sem/access_control_type.cc
similarity index 97%
rename from src/type/access_control_type.cc
rename to src/sem/access_control_type.cc
index 59f9f13..09e9af2 100644
--- a/src/type/access_control_type.cc
+++ b/src/sem/access_control_type.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/access_control_type.h"
+#include "src/sem/access_control_type.h"
#include "src/program_builder.h"
diff --git a/src/type/access_control_type.h b/src/sem/access_control_type.h
similarity index 93%
rename from src/type/access_control_type.h
rename to src/sem/access_control_type.h
index 55de524..7f6ac37 100644
--- a/src/type/access_control_type.h
+++ b/src/sem/access_control_type.h
@@ -12,13 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_ACCESS_CONTROL_TYPE_H_
-#define SRC_TYPE_ACCESS_CONTROL_TYPE_H_
+#ifndef SRC_SEM_ACCESS_CONTROL_TYPE_H_
+#define SRC_SEM_ACCESS_CONTROL_TYPE_H_
#include <string>
#include "src/ast/access_control.h"
-#include "src/type/type.h"
+#include "src/sem/type.h"
namespace tint {
namespace sem {
@@ -67,4 +67,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_ACCESS_CONTROL_TYPE_H_
+#endif // SRC_SEM_ACCESS_CONTROL_TYPE_H_
diff --git a/src/type/access_control_type_test.cc b/src/sem/access_control_type_test.cc
similarity index 95%
rename from src/type/access_control_type_test.cc
rename to src/sem/access_control_type_test.cc
index 2e88ca1..cbc7cfd 100644
--- a/src/type/access_control_type_test.cc
+++ b/src/sem/access_control_type_test.cc
@@ -12,10 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/access_control_type.h"
+#include "src/sem/access_control_type.h"
-#include "src/type/test_helper.h"
-#include "src/type/texture_type.h"
+#include "src/sem/test_helper.h"
+#include "src/sem/texture_type.h"
namespace tint {
namespace sem {
diff --git a/src/type/alias_type.cc b/src/sem/alias_type.cc
similarity index 97%
rename from src/type/alias_type.cc
rename to src/sem/alias_type.cc
index 19ce929..6288ed8 100644
--- a/src/type/alias_type.cc
+++ b/src/sem/alias_type.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/alias_type.h"
+#include "src/sem/alias_type.h"
#include "src/program_builder.h"
diff --git a/src/type/alias_type.h b/src/sem/alias_type.h
similarity index 93%
rename from src/type/alias_type.h
rename to src/sem/alias_type.h
index ba8cd61..f65ee2e 100644
--- a/src/type/alias_type.h
+++ b/src/sem/alias_type.h
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_ALIAS_TYPE_H_
-#define SRC_TYPE_ALIAS_TYPE_H_
+#ifndef SRC_SEM_ALIAS_TYPE_H_
+#define SRC_SEM_ALIAS_TYPE_H_
#include <string>
-#include "src/type/type.h"
+#include "src/sem/type.h"
namespace tint {
namespace sem {
@@ -60,4 +60,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_ALIAS_TYPE_H_
+#endif // SRC_SEM_ALIAS_TYPE_H_
diff --git a/src/type/alias_type_test.cc b/src/sem/alias_type_test.cc
similarity index 97%
rename from src/type/alias_type_test.cc
rename to src/sem/alias_type_test.cc
index 24ba051..e113097 100644
--- a/src/type/alias_type_test.cc
+++ b/src/sem/alias_type_test.cc
@@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/access_control_type.h"
-#include "src/type/test_helper.h"
-#include "src/type/texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/test_helper.h"
+#include "src/sem/texture_type.h"
namespace tint {
namespace sem {
diff --git a/src/type/array_type.cc b/src/sem/array_type.cc
similarity index 98%
rename from src/type/array_type.cc
rename to src/sem/array_type.cc
index d2d866c..ebac7c2 100644
--- a/src/type/array_type.cc
+++ b/src/sem/array_type.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/array_type.h"
+#include "src/sem/array_type.h"
#include <cmath>
diff --git a/src/type/array_type.h b/src/sem/array_type.h
similarity index 94%
rename from src/type/array_type.h
rename to src/sem/array_type.h
index 0f833f1..6ddad88 100644
--- a/src/type/array_type.h
+++ b/src/sem/array_type.h
@@ -12,13 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_ARRAY_TYPE_H_
-#define SRC_TYPE_ARRAY_TYPE_H_
+#ifndef SRC_SEM_ARRAY_TYPE_H_
+#define SRC_SEM_ARRAY_TYPE_H_
#include <string>
#include "src/ast/decoration.h"
-#include "src/type/type.h"
+#include "src/sem/type.h"
namespace tint {
namespace sem {
@@ -72,4 +72,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_ARRAY_TYPE_H_
+#endif // SRC_SEM_ARRAY_TYPE_H_
diff --git a/src/type/array_type_test.cc b/src/sem/array_type_test.cc
similarity index 95%
rename from src/type/array_type_test.cc
rename to src/sem/array_type_test.cc
index b37cc4c..6d21249 100644
--- a/src/type/array_type_test.cc
+++ b/src/sem/array_type_test.cc
@@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/access_control_type.h"
-#include "src/type/test_helper.h"
-#include "src/type/texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/test_helper.h"
+#include "src/sem/texture_type.h"
namespace tint {
namespace sem {
diff --git a/src/type/bool_type.cc b/src/sem/bool_type.cc
similarity index 96%
rename from src/type/bool_type.cc
rename to src/sem/bool_type.cc
index d17cf2c..b828742 100644
--- a/src/type/bool_type.cc
+++ b/src/sem/bool_type.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/bool_type.h"
+#include "src/sem/bool_type.h"
#include "src/program_builder.h"
diff --git a/src/type/bool_type.h b/src/sem/bool_type.h
similarity index 92%
rename from src/type/bool_type.h
rename to src/sem/bool_type.h
index 7402e47..c42213e 100644
--- a/src/type/bool_type.h
+++ b/src/sem/bool_type.h
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_BOOL_TYPE_H_
-#define SRC_TYPE_BOOL_TYPE_H_
+#ifndef SRC_SEM_BOOL_TYPE_H_
+#define SRC_SEM_BOOL_TYPE_H_
#include <string>
-#include "src/type/type.h"
+#include "src/sem/type.h"
// X11 likes to #define Bool leading to confusing error messages.
// If its defined, undefine it.
@@ -54,4 +54,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_BOOL_TYPE_H_
+#endif // SRC_SEM_BOOL_TYPE_H_
diff --git a/src/type/bool_type_test.cc b/src/sem/bool_type_test.cc
similarity index 92%
rename from src/type/bool_type_test.cc
rename to src/sem/bool_type_test.cc
index 64094bf..c11872d 100644
--- a/src/type/bool_type_test.cc
+++ b/src/sem/bool_type_test.cc
@@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/access_control_type.h"
-#include "src/type/test_helper.h"
-#include "src/type/texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/test_helper.h"
+#include "src/sem/texture_type.h"
namespace tint {
namespace sem {
diff --git a/src/sem/call_target.h b/src/sem/call_target.h
index 8f4f013..3b3ed90 100644
--- a/src/sem/call_target.h
+++ b/src/sem/call_target.h
@@ -18,16 +18,13 @@
#include <vector>
#include "src/sem/node.h"
-#include "src/type/sampler_type.h"
+#include "src/sem/sampler_type.h"
namespace tint {
+namespace sem {
// Forward declarations
-namespace sem {
class Type;
-} // namespace sem
-
-namespace sem {
/// Parameter describes a single parameter of a call target
struct Parameter {
diff --git a/src/type/depth_texture_type.cc b/src/sem/depth_texture_type.cc
similarity index 97%
rename from src/type/depth_texture_type.cc
rename to src/sem/depth_texture_type.cc
index 6ead318..d4951e3 100644
--- a/src/type/depth_texture_type.cc
+++ b/src/sem/depth_texture_type.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/depth_texture_type.h"
+#include "src/sem/depth_texture_type.h"
#include "src/program_builder.h"
diff --git a/src/type/depth_texture_type.h b/src/sem/depth_texture_type.h
similarity index 90%
rename from src/type/depth_texture_type.h
rename to src/sem/depth_texture_type.h
index 2a2bbfd..e912a87 100644
--- a/src/type/depth_texture_type.h
+++ b/src/sem/depth_texture_type.h
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_DEPTH_TEXTURE_TYPE_H_
-#define SRC_TYPE_DEPTH_TEXTURE_TYPE_H_
+#ifndef SRC_SEM_DEPTH_TEXTURE_TYPE_H_
+#define SRC_SEM_DEPTH_TEXTURE_TYPE_H_
#include <string>
-#include "src/type/texture_type.h"
+#include "src/sem/texture_type.h"
namespace tint {
namespace sem {
@@ -49,4 +49,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_DEPTH_TEXTURE_TYPE_H_
+#endif // SRC_SEM_DEPTH_TEXTURE_TYPE_H_
diff --git a/src/type/depth_texture_type_test.cc b/src/sem/depth_texture_type_test.cc
similarity index 88%
rename from src/type/depth_texture_type_test.cc
rename to src/sem/depth_texture_type_test.cc
index 993879c..0935eba 100644
--- a/src/type/depth_texture_type_test.cc
+++ b/src/sem/depth_texture_type_test.cc
@@ -12,14 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/depth_texture_type.h"
+#include "src/sem/depth_texture_type.h"
-#include "src/type/test_helper.h"
+#include "src/sem/test_helper.h"
-#include "src/type/access_control_type.h"
-#include "src/type/external_texture_type.h"
-#include "src/type/sampled_texture_type.h"
-#include "src/type/storage_texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/external_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
+#include "src/sem/storage_texture_type.h"
namespace tint {
namespace sem {
diff --git a/src/type/external_texture_type.cc b/src/sem/external_texture_type.cc
similarity index 96%
rename from src/type/external_texture_type.cc
rename to src/sem/external_texture_type.cc
index 3dba140..7341aaf 100644
--- a/src/type/external_texture_type.cc
+++ b/src/sem/external_texture_type.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/external_texture_type.h"
+#include "src/sem/external_texture_type.h"
#include "src/program_builder.h"
diff --git a/src/type/external_texture_type.h b/src/sem/external_texture_type.h
similarity index 89%
rename from src/type/external_texture_type.h
rename to src/sem/external_texture_type.h
index c2ceb46..8179d9f 100644
--- a/src/type/external_texture_type.h
+++ b/src/sem/external_texture_type.h
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_EXTERNAL_TEXTURE_TYPE_H_
-#define SRC_TYPE_EXTERNAL_TEXTURE_TYPE_H_
+#ifndef SRC_SEM_EXTERNAL_TEXTURE_TYPE_H_
+#define SRC_SEM_EXTERNAL_TEXTURE_TYPE_H_
#include <string>
-#include "src/type/texture_type.h"
+#include "src/sem/texture_type.h"
namespace tint {
namespace sem {
@@ -46,4 +46,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_EXTERNAL_TEXTURE_TYPE_H_
+#endif // SRC_SEM_EXTERNAL_TEXTURE_TYPE_H_
diff --git a/src/type/external_texture_type_test.cc b/src/sem/external_texture_type_test.cc
similarity index 86%
rename from src/type/external_texture_type_test.cc
rename to src/sem/external_texture_type_test.cc
index 2fb7485..c12dc33 100644
--- a/src/type/external_texture_type_test.cc
+++ b/src/sem/external_texture_type_test.cc
@@ -12,14 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/external_texture_type.h"
+#include "src/sem/external_texture_type.h"
-#include "src/type/access_control_type.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/multisampled_texture_type.h"
-#include "src/type/sampled_texture_type.h"
-#include "src/type/storage_texture_type.h"
-#include "src/type/test_helper.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/depth_texture_type.h"
+#include "src/sem/multisampled_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
+#include "src/sem/storage_texture_type.h"
+#include "src/sem/test_helper.h"
namespace tint {
namespace sem {
diff --git a/src/type/f32_type.cc b/src/sem/f32_type.cc
similarity index 96%
rename from src/type/f32_type.cc
rename to src/sem/f32_type.cc
index 7398957..f2d2043 100644
--- a/src/type/f32_type.cc
+++ b/src/sem/f32_type.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/f32_type.h"
+#include "src/sem/f32_type.h"
#include "src/program_builder.h"
diff --git a/src/type/f32_type.h b/src/sem/f32_type.h
similarity index 91%
rename from src/type/f32_type.h
rename to src/sem/f32_type.h
index 2391404..e26bba9 100644
--- a/src/type/f32_type.h
+++ b/src/sem/f32_type.h
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_F32_TYPE_H_
-#define SRC_TYPE_F32_TYPE_H_
+#ifndef SRC_SEM_F32_TYPE_H_
+#define SRC_SEM_F32_TYPE_H_
#include <string>
-#include "src/type/type.h"
+#include "src/sem/type.h"
namespace tint {
namespace sem {
@@ -48,4 +48,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_F32_TYPE_H_
+#endif // SRC_SEM_F32_TYPE_H_
diff --git a/src/type/f32_type_test.cc b/src/sem/f32_type_test.cc
similarity index 92%
rename from src/type/f32_type_test.cc
rename to src/sem/f32_type_test.cc
index 421ca9e..402b953 100644
--- a/src/type/f32_type_test.cc
+++ b/src/sem/f32_type_test.cc
@@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/access_control_type.h"
-#include "src/type/test_helper.h"
-#include "src/type/texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/test_helper.h"
+#include "src/sem/texture_type.h"
namespace tint {
namespace sem {
diff --git a/src/sem/function.cc b/src/sem/function.cc
index 9d22258..d4b1809 100644
--- a/src/sem/function.cc
+++ b/src/sem/function.cc
@@ -15,11 +15,11 @@
#include "src/sem/function.h"
#include "src/ast/function.h"
+#include "src/sem/depth_texture_type.h"
+#include "src/sem/multisampled_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
+#include "src/sem/storage_texture_type.h"
#include "src/sem/variable.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/multisampled_texture_type.h"
-#include "src/type/sampled_texture_type.h"
-#include "src/type/storage_texture_type.h"
TINT_INSTANTIATE_TYPEINFO(tint::sem::Function);
diff --git a/src/type/i32_type.cc b/src/sem/i32_type.cc
similarity index 96%
rename from src/type/i32_type.cc
rename to src/sem/i32_type.cc
index 5297a34..495180c 100644
--- a/src/type/i32_type.cc
+++ b/src/sem/i32_type.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/i32_type.h"
+#include "src/sem/i32_type.h"
#include "src/program_builder.h"
diff --git a/src/type/i32_type.h b/src/sem/i32_type.h
similarity index 91%
rename from src/type/i32_type.h
rename to src/sem/i32_type.h
index 2722e87..5d96fcf 100644
--- a/src/type/i32_type.h
+++ b/src/sem/i32_type.h
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_I32_TYPE_H_
-#define SRC_TYPE_I32_TYPE_H_
+#ifndef SRC_SEM_I32_TYPE_H_
+#define SRC_SEM_I32_TYPE_H_
#include <string>
-#include "src/type/type.h"
+#include "src/sem/type.h"
namespace tint {
namespace sem {
@@ -48,4 +48,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_I32_TYPE_H_
+#endif // SRC_SEM_I32_TYPE_H_
diff --git a/src/type/i32_type_test.cc b/src/sem/i32_type_test.cc
similarity index 92%
rename from src/type/i32_type_test.cc
rename to src/sem/i32_type_test.cc
index bf3a1ec..1b6e1d3 100644
--- a/src/type/i32_type_test.cc
+++ b/src/sem/i32_type_test.cc
@@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/access_control_type.h"
-#include "src/type/test_helper.h"
-#include "src/type/texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/test_helper.h"
+#include "src/sem/texture_type.h"
namespace tint {
namespace sem {
diff --git a/src/type/matrix_type.cc b/src/sem/matrix_type.cc
similarity index 97%
rename from src/type/matrix_type.cc
rename to src/sem/matrix_type.cc
index 4daa6b8..07c173f 100644
--- a/src/type/matrix_type.cc
+++ b/src/sem/matrix_type.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/matrix_type.h"
+#include "src/sem/matrix_type.h"
#include "src/program_builder.h"
diff --git a/src/type/matrix_type.h b/src/sem/matrix_type.h
similarity index 93%
rename from src/type/matrix_type.h
rename to src/sem/matrix_type.h
index 3eefdd1..2dd6ed2 100644
--- a/src/type/matrix_type.h
+++ b/src/sem/matrix_type.h
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_MATRIX_TYPE_H_
-#define SRC_TYPE_MATRIX_TYPE_H_
+#ifndef SRC_SEM_MATRIX_TYPE_H_
+#define SRC_SEM_MATRIX_TYPE_H_
#include <string>
-#include "src/type/type.h"
+#include "src/sem/type.h"
namespace tint {
namespace sem {
@@ -63,4 +63,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_MATRIX_TYPE_H_
+#endif // SRC_SEM_MATRIX_TYPE_H_
diff --git a/src/type/matrix_type_test.cc b/src/sem/matrix_type_test.cc
similarity index 93%
rename from src/type/matrix_type_test.cc
rename to src/sem/matrix_type_test.cc
index 87b3273..f94faa3 100644
--- a/src/type/matrix_type_test.cc
+++ b/src/sem/matrix_type_test.cc
@@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/access_control_type.h"
-#include "src/type/test_helper.h"
-#include "src/type/texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/test_helper.h"
+#include "src/sem/texture_type.h"
namespace tint {
namespace sem {
diff --git a/src/type/multisampled_texture_type.cc b/src/sem/multisampled_texture_type.cc
similarity index 96%
rename from src/type/multisampled_texture_type.cc
rename to src/sem/multisampled_texture_type.cc
index e3d1990..88b09f1 100644
--- a/src/type/multisampled_texture_type.cc
+++ b/src/sem/multisampled_texture_type.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/multisampled_texture_type.h"
+#include "src/sem/multisampled_texture_type.h"
#include "src/program_builder.h"
diff --git a/src/type/multisampled_texture_type.h b/src/sem/multisampled_texture_type.h
similarity index 90%
rename from src/type/multisampled_texture_type.h
rename to src/sem/multisampled_texture_type.h
index 7542402..4a4c848 100644
--- a/src/type/multisampled_texture_type.h
+++ b/src/sem/multisampled_texture_type.h
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_MULTISAMPLED_TEXTURE_TYPE_H_
-#define SRC_TYPE_MULTISAMPLED_TEXTURE_TYPE_H_
+#ifndef SRC_SEM_MULTISAMPLED_TEXTURE_TYPE_H_
+#define SRC_SEM_MULTISAMPLED_TEXTURE_TYPE_H_
#include <string>
-#include "src/type/texture_type.h"
+#include "src/sem/texture_type.h"
namespace tint {
namespace sem {
@@ -56,4 +56,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_MULTISAMPLED_TEXTURE_TYPE_H_
+#endif // SRC_SEM_MULTISAMPLED_TEXTURE_TYPE_H_
diff --git a/src/type/multisampled_texture_type_test.cc b/src/sem/multisampled_texture_type_test.cc
similarity index 88%
rename from src/type/multisampled_texture_type_test.cc
rename to src/sem/multisampled_texture_type_test.cc
index 3add47c..010c635 100644
--- a/src/type/multisampled_texture_type_test.cc
+++ b/src/sem/multisampled_texture_type_test.cc
@@ -12,14 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/multisampled_texture_type.h"
+#include "src/sem/multisampled_texture_type.h"
-#include "src/type/access_control_type.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/external_texture_type.h"
-#include "src/type/sampled_texture_type.h"
-#include "src/type/storage_texture_type.h"
-#include "src/type/test_helper.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/depth_texture_type.h"
+#include "src/sem/external_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
+#include "src/sem/storage_texture_type.h"
+#include "src/sem/test_helper.h"
namespace tint {
namespace sem {
diff --git a/src/type/pointer_type.cc b/src/sem/pointer_type.cc
similarity index 97%
rename from src/type/pointer_type.cc
rename to src/sem/pointer_type.cc
index c9b2230..8ca1703 100644
--- a/src/type/pointer_type.cc
+++ b/src/sem/pointer_type.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/pointer_type.h"
+#include "src/sem/pointer_type.h"
#include "src/program_builder.h"
diff --git a/src/type/pointer_type.h b/src/sem/pointer_type.h
similarity index 93%
rename from src/type/pointer_type.h
rename to src/sem/pointer_type.h
index 3290009..1ce73f2 100644
--- a/src/type/pointer_type.h
+++ b/src/sem/pointer_type.h
@@ -12,13 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_POINTER_TYPE_H_
-#define SRC_TYPE_POINTER_TYPE_H_
+#ifndef SRC_SEM_POINTER_TYPE_H_
+#define SRC_SEM_POINTER_TYPE_H_
#include <string>
#include "src/ast/storage_class.h"
-#include "src/type/type.h"
+#include "src/sem/type.h"
namespace tint {
namespace sem {
@@ -60,4 +60,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_POINTER_TYPE_H_
+#endif // SRC_SEM_POINTER_TYPE_H_
diff --git a/src/type/pointer_type_test.cc b/src/sem/pointer_type_test.cc
similarity index 94%
rename from src/type/pointer_type_test.cc
rename to src/sem/pointer_type_test.cc
index 79a0bf2..71fc47f 100644
--- a/src/type/pointer_type_test.cc
+++ b/src/sem/pointer_type_test.cc
@@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/access_control_type.h"
-#include "src/type/test_helper.h"
-#include "src/type/texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/test_helper.h"
+#include "src/sem/texture_type.h"
namespace tint {
namespace sem {
diff --git a/src/type/sampled_texture_type.cc b/src/sem/sampled_texture_type.cc
similarity index 97%
rename from src/type/sampled_texture_type.cc
rename to src/sem/sampled_texture_type.cc
index 703de48..e820e9b 100644
--- a/src/type/sampled_texture_type.cc
+++ b/src/sem/sampled_texture_type.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/sampled_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
#include "src/program_builder.h"
diff --git a/src/type/sampled_texture_type.h b/src/sem/sampled_texture_type.h
similarity index 91%
rename from src/type/sampled_texture_type.h
rename to src/sem/sampled_texture_type.h
index bcd2705..8bc3ad5 100644
--- a/src/type/sampled_texture_type.h
+++ b/src/sem/sampled_texture_type.h
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_SAMPLED_TEXTURE_TYPE_H_
-#define SRC_TYPE_SAMPLED_TEXTURE_TYPE_H_
+#ifndef SRC_SEM_SAMPLED_TEXTURE_TYPE_H_
+#define SRC_SEM_SAMPLED_TEXTURE_TYPE_H_
#include <string>
-#include "src/type/texture_type.h"
+#include "src/sem/texture_type.h"
namespace tint {
namespace sem {
@@ -56,4 +56,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_SAMPLED_TEXTURE_TYPE_H_
+#endif // SRC_SEM_SAMPLED_TEXTURE_TYPE_H_
diff --git a/src/type/sampled_texture_type_test.cc b/src/sem/sampled_texture_type_test.cc
similarity index 89%
rename from src/type/sampled_texture_type_test.cc
rename to src/sem/sampled_texture_type_test.cc
index 97d4eb6..1083003 100644
--- a/src/type/sampled_texture_type_test.cc
+++ b/src/sem/sampled_texture_type_test.cc
@@ -12,13 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/sampled_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
-#include "src/type/access_control_type.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/external_texture_type.h"
-#include "src/type/storage_texture_type.h"
-#include "src/type/test_helper.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/depth_texture_type.h"
+#include "src/sem/external_texture_type.h"
+#include "src/sem/storage_texture_type.h"
+#include "src/sem/test_helper.h"
namespace tint {
namespace sem {
diff --git a/src/type/sampler_type.cc b/src/sem/sampler_type.cc
similarity index 97%
rename from src/type/sampler_type.cc
rename to src/sem/sampler_type.cc
index 4679297..3fdc3a7 100644
--- a/src/type/sampler_type.cc
+++ b/src/sem/sampler_type.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/sampler_type.h"
+#include "src/sem/sampler_type.h"
#include "src/program_builder.h"
diff --git a/src/type/sampler_type.h b/src/sem/sampler_type.h
similarity index 93%
rename from src/type/sampler_type.h
rename to src/sem/sampler_type.h
index 23ef24c..050528e 100644
--- a/src/type/sampler_type.h
+++ b/src/sem/sampler_type.h
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_SAMPLER_TYPE_H_
-#define SRC_TYPE_SAMPLER_TYPE_H_
+#ifndef SRC_SEM_SAMPLER_TYPE_H_
+#define SRC_SEM_SAMPLER_TYPE_H_
#include <string>
-#include "src/type/type.h"
+#include "src/sem/type.h"
namespace tint {
namespace sem {
@@ -67,4 +67,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_SAMPLER_TYPE_H_
+#endif // SRC_SEM_SAMPLER_TYPE_H_
diff --git a/src/type/sampler_type_test.cc b/src/sem/sampler_type_test.cc
similarity index 94%
rename from src/type/sampler_type_test.cc
rename to src/sem/sampler_type_test.cc
index c7ef3c9..4e6c382 100644
--- a/src/type/sampler_type_test.cc
+++ b/src/sem/sampler_type_test.cc
@@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/access_control_type.h"
-#include "src/type/test_helper.h"
-#include "src/type/texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/test_helper.h"
+#include "src/sem/texture_type.h"
namespace tint {
namespace sem {
diff --git a/src/type/storage_texture_type.cc b/src/sem/storage_texture_type.cc
similarity index 98%
rename from src/type/storage_texture_type.cc
rename to src/sem/storage_texture_type.cc
index e693dbe..798792b 100644
--- a/src/type/storage_texture_type.cc
+++ b/src/sem/storage_texture_type.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/storage_texture_type.h"
+#include "src/sem/storage_texture_type.h"
#include "src/program_builder.h"
diff --git a/src/type/storage_texture_type.h b/src/sem/storage_texture_type.h
similarity index 94%
rename from src/type/storage_texture_type.h
rename to src/sem/storage_texture_type.h
index 933133c..59269a8 100644
--- a/src/type/storage_texture_type.h
+++ b/src/sem/storage_texture_type.h
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_STORAGE_TEXTURE_TYPE_H_
-#define SRC_TYPE_STORAGE_TEXTURE_TYPE_H_
+#ifndef SRC_SEM_STORAGE_TEXTURE_TYPE_H_
+#define SRC_SEM_STORAGE_TEXTURE_TYPE_H_
#include <string>
-#include "src/type/texture_type.h"
+#include "src/sem/texture_type.h"
namespace tint {
namespace sem {
@@ -110,4 +110,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_STORAGE_TEXTURE_TYPE_H_
+#endif // SRC_SEM_STORAGE_TEXTURE_TYPE_H_
diff --git a/src/type/storage_texture_type_test.cc b/src/sem/storage_texture_type_test.cc
similarity index 94%
rename from src/type/storage_texture_type_test.cc
rename to src/sem/storage_texture_type_test.cc
index eb18999..2716dc2 100644
--- a/src/type/storage_texture_type_test.cc
+++ b/src/sem/storage_texture_type_test.cc
@@ -12,13 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/storage_texture_type.h"
+#include "src/sem/storage_texture_type.h"
-#include "src/type/access_control_type.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/external_texture_type.h"
-#include "src/type/sampled_texture_type.h"
-#include "src/type/test_helper.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/depth_texture_type.h"
+#include "src/sem/external_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
+#include "src/sem/test_helper.h"
namespace tint {
namespace sem {
diff --git a/src/type/struct_type.cc b/src/sem/struct_type.cc
similarity index 97%
rename from src/type/struct_type.cc
rename to src/sem/struct_type.cc
index 1fa1cf6..1079b16 100644
--- a/src/type/struct_type.cc
+++ b/src/sem/struct_type.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/struct_type.h"
+#include "src/sem/struct_type.h"
#include <cmath>
diff --git a/src/type/struct_type.h b/src/sem/struct_type.h
similarity index 93%
rename from src/type/struct_type.h
rename to src/sem/struct_type.h
index 139c61f..67857d5 100644
--- a/src/type/struct_type.h
+++ b/src/sem/struct_type.h
@@ -12,13 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_STRUCT_TYPE_H_
-#define SRC_TYPE_STRUCT_TYPE_H_
+#ifndef SRC_SEM_STRUCT_TYPE_H_
+#define SRC_SEM_STRUCT_TYPE_H_
#include <string>
#include "src/ast/struct.h"
-#include "src/type/type.h"
+#include "src/sem/type.h"
namespace tint {
namespace sem {
@@ -66,4 +66,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_STRUCT_TYPE_H_
+#endif // SRC_SEM_STRUCT_TYPE_H_
diff --git a/src/type/struct_type_test.cc b/src/sem/struct_type_test.cc
similarity index 94%
rename from src/type/struct_type_test.cc
rename to src/sem/struct_type_test.cc
index e81afd3..a667cfa 100644
--- a/src/type/struct_type_test.cc
+++ b/src/sem/struct_type_test.cc
@@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/access_control_type.h"
-#include "src/type/test_helper.h"
-#include "src/type/texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/test_helper.h"
+#include "src/sem/texture_type.h"
namespace tint {
namespace sem {
diff --git a/src/type/test_helper.h b/src/sem/test_helper.h
similarity index 92%
rename from src/type/test_helper.h
rename to src/sem/test_helper.h
index 4ee2802..e57ba6c 100644
--- a/src/type/test_helper.h
+++ b/src/sem/test_helper.h
@@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_TEST_HELPER_H_
-#define SRC_TYPE_TEST_HELPER_H_
+#ifndef SRC_SEM_TEST_HELPER_H_
+#define SRC_SEM_TEST_HELPER_H_
#include <utility>
@@ -46,4 +46,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_TEST_HELPER_H_
+#endif // SRC_SEM_TEST_HELPER_H_
diff --git a/src/type/texture_type.cc b/src/sem/texture_type.cc
similarity index 98%
rename from src/type/texture_type.cc
rename to src/sem/texture_type.cc
index df16729..479d5a8 100644
--- a/src/type/texture_type.cc
+++ b/src/sem/texture_type.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/texture_type.h"
+#include "src/sem/texture_type.h"
TINT_INSTANTIATE_TYPEINFO(tint::sem::Texture);
diff --git a/src/type/texture_type.h b/src/sem/texture_type.h
similarity index 93%
rename from src/type/texture_type.h
rename to src/sem/texture_type.h
index 9c83deb..d9ab6e3 100644
--- a/src/type/texture_type.h
+++ b/src/sem/texture_type.h
@@ -12,10 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_TEXTURE_TYPE_H_
-#define SRC_TYPE_TEXTURE_TYPE_H_
+#ifndef SRC_SEM_TEXTURE_TYPE_H_
+#define SRC_SEM_TEXTURE_TYPE_H_
-#include "src/type/type.h"
+#include "src/sem/type.h"
namespace tint {
namespace sem {
@@ -72,4 +72,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_TEXTURE_TYPE_H_
+#endif // SRC_SEM_TEXTURE_TYPE_H_
diff --git a/src/type/texture_type_test.cc b/src/sem/texture_type_test.cc
similarity index 95%
rename from src/type/texture_type_test.cc
rename to src/sem/texture_type_test.cc
index a1dec3b..ee1e25e 100644
--- a/src/type/texture_type_test.cc
+++ b/src/sem/texture_type_test.cc
@@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/texture_type.h"
+#include "src/sem/texture_type.h"
-#include "src/type/test_helper.h"
+#include "src/sem/test_helper.h"
namespace tint {
namespace sem {
diff --git a/src/type/type.cc b/src/sem/type.cc
similarity index 86%
rename from src/type/type.cc
rename to src/sem/type.cc
index eee7d54..537bec1 100644
--- a/src/type/type.cc
+++ b/src/sem/type.cc
@@ -12,19 +12,19 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/type.h"
+#include "src/sem/type.h"
-#include "src/type/access_control_type.h"
-#include "src/type/alias_type.h"
-#include "src/type/bool_type.h"
-#include "src/type/f32_type.h"
-#include "src/type/i32_type.h"
-#include "src/type/matrix_type.h"
-#include "src/type/pointer_type.h"
-#include "src/type/sampler_type.h"
-#include "src/type/texture_type.h"
-#include "src/type/u32_type.h"
-#include "src/type/vector_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/alias_type.h"
+#include "src/sem/bool_type.h"
+#include "src/sem/f32_type.h"
+#include "src/sem/i32_type.h"
+#include "src/sem/matrix_type.h"
+#include "src/sem/pointer_type.h"
+#include "src/sem/sampler_type.h"
+#include "src/sem/texture_type.h"
+#include "src/sem/u32_type.h"
+#include "src/sem/vector_type.h"
TINT_INSTANTIATE_TYPEINFO(tint::sem::Type);
@@ -56,9 +56,9 @@
auto* where = this;
while (true) {
if (auto* alias = where->As<sem::Alias>()) {
- where = alias->type();
+ where = alias->type();
} else if (auto* access = where->As<sem::AccessControl>()) {
- where = access->type();
+ where = access->type();
} else {
break;
}
diff --git a/src/type/type.h b/src/sem/type.h
similarity index 97%
rename from src/type/type.h
rename to src/sem/type.h
index 7c23d67..8a7137c 100644
--- a/src/type/type.h
+++ b/src/sem/type.h
@@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_TYPE_H_
-#define SRC_TYPE_TYPE_H_
+#ifndef SRC_SEM_TYPE_H_
+#define SRC_SEM_TYPE_H_
#include <string>
@@ -112,4 +112,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_TYPE_H_
+#endif // SRC_SEM_TYPE_H_
diff --git a/src/type/type_manager.cc b/src/sem/type_manager.cc
similarity index 95%
rename from src/type/type_manager.cc
rename to src/sem/type_manager.cc
index 76e97f4..eaae591 100644
--- a/src/type/type_manager.cc
+++ b/src/sem/type_manager.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/type_manager.h"
+#include "src/sem/type_manager.h"
namespace tint {
namespace sem {
diff --git a/src/type/type_manager.h b/src/sem/type_manager.h
similarity index 95%
rename from src/type/type_manager.h
rename to src/sem/type_manager.h
index b42c287..59d1041 100644
--- a/src/type/type_manager.h
+++ b/src/sem/type_manager.h
@@ -12,15 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_TYPE_MANAGER_H_
-#define SRC_TYPE_TYPE_MANAGER_H_
+#ifndef SRC_SEM_TYPE_MANAGER_H_
+#define SRC_SEM_TYPE_MANAGER_H_
#include <string>
#include <unordered_map>
#include <utility>
#include "src/block_allocator.h"
-#include "src/type/type.h"
+#include "src/sem/type.h"
namespace tint {
namespace sem {
@@ -97,4 +97,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_TYPE_MANAGER_H_
+#endif // SRC_SEM_TYPE_MANAGER_H_
diff --git a/src/type/type_manager_test.cc b/src/sem/type_manager_test.cc
similarity index 94%
rename from src/type/type_manager_test.cc
rename to src/sem/type_manager_test.cc
index 0dc83c9..dcd8f05 100644
--- a/src/type/type_manager_test.cc
+++ b/src/sem/type_manager_test.cc
@@ -12,11 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/type_manager.h"
+#include "src/sem/type_manager.h"
#include "gtest/gtest.h"
-#include "src/type/i32_type.h"
-#include "src/type/u32_type.h"
+#include "src/sem/i32_type.h"
+#include "src/sem/u32_type.h"
namespace tint {
namespace sem {
diff --git a/src/type/u32_type.cc b/src/sem/u32_type.cc
similarity index 96%
rename from src/type/u32_type.cc
rename to src/sem/u32_type.cc
index 7a8ac3a..d4e0145 100644
--- a/src/type/u32_type.cc
+++ b/src/sem/u32_type.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/u32_type.h"
+#include "src/sem/u32_type.h"
#include "src/program_builder.h"
diff --git a/src/type/u32_type.h b/src/sem/u32_type.h
similarity index 91%
rename from src/type/u32_type.h
rename to src/sem/u32_type.h
index bfd81a0..eb1937d 100644
--- a/src/type/u32_type.h
+++ b/src/sem/u32_type.h
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_U32_TYPE_H_
-#define SRC_TYPE_U32_TYPE_H_
+#ifndef SRC_SEM_U32_TYPE_H_
+#define SRC_SEM_U32_TYPE_H_
#include <string>
-#include "src/type/type.h"
+#include "src/sem/type.h"
namespace tint {
namespace sem {
@@ -48,4 +48,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_U32_TYPE_H_
+#endif // SRC_SEM_U32_TYPE_H_
diff --git a/src/type/u32_type_test.cc b/src/sem/u32_type_test.cc
similarity index 92%
rename from src/type/u32_type_test.cc
rename to src/sem/u32_type_test.cc
index 39f657f..5e0bcc4 100644
--- a/src/type/u32_type_test.cc
+++ b/src/sem/u32_type_test.cc
@@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/access_control_type.h"
-#include "src/type/test_helper.h"
-#include "src/type/texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/test_helper.h"
+#include "src/sem/texture_type.h"
namespace tint {
namespace sem {
diff --git a/src/type/vector_type.cc b/src/sem/vector_type.cc
similarity index 97%
rename from src/type/vector_type.cc
rename to src/sem/vector_type.cc
index 5e12305..591bcb1 100644
--- a/src/type/vector_type.cc
+++ b/src/sem/vector_type.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/vector_type.h"
+#include "src/sem/vector_type.h"
#include "src/program_builder.h"
diff --git a/src/type/vector_type.h b/src/sem/vector_type.h
similarity index 92%
rename from src/type/vector_type.h
rename to src/sem/vector_type.h
index 34ed908..4df716a 100644
--- a/src/type/vector_type.h
+++ b/src/sem/vector_type.h
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_VECTOR_TYPE_H_
-#define SRC_TYPE_VECTOR_TYPE_H_
+#ifndef SRC_SEM_VECTOR_TYPE_H_
+#define SRC_SEM_VECTOR_TYPE_H_
#include <string>
-#include "src/type/type.h"
+#include "src/sem/type.h"
namespace tint {
namespace sem {
@@ -59,4 +59,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_VECTOR_TYPE_H_
+#endif // SRC_SEM_VECTOR_TYPE_H_
diff --git a/src/type/vector_type_test.cc b/src/sem/vector_type_test.cc
similarity index 93%
rename from src/type/vector_type_test.cc
rename to src/sem/vector_type_test.cc
index 656721f..099aae6 100644
--- a/src/type/vector_type_test.cc
+++ b/src/sem/vector_type_test.cc
@@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/access_control_type.h"
-#include "src/type/test_helper.h"
-#include "src/type/texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/test_helper.h"
+#include "src/sem/texture_type.h"
namespace tint {
namespace sem {
diff --git a/src/type/void_type.cc b/src/sem/void_type.cc
similarity index 96%
rename from src/type/void_type.cc
rename to src/sem/void_type.cc
index c0445b8..fbdd3b3 100644
--- a/src/type/void_type.cc
+++ b/src/sem/void_type.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "src/type/void_type.h"
+#include "src/sem/void_type.h"
#include "src/program_builder.h"
diff --git a/src/type/void_type.h b/src/sem/void_type.h
similarity index 91%
rename from src/type/void_type.h
rename to src/sem/void_type.h
index 88fef42..f32cb47 100644
--- a/src/type/void_type.h
+++ b/src/sem/void_type.h
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef SRC_TYPE_VOID_TYPE_H_
-#define SRC_TYPE_VOID_TYPE_H_
+#ifndef SRC_SEM_VOID_TYPE_H_
+#define SRC_SEM_VOID_TYPE_H_
#include <string>
-#include "src/type/type.h"
+#include "src/sem/type.h"
namespace tint {
namespace sem {
@@ -48,4 +48,4 @@
} // namespace sem
} // namespace tint
-#endif // SRC_TYPE_VOID_TYPE_H_
+#endif // SRC_SEM_VOID_TYPE_H_
diff --git a/src/transform/binding_remapper.cc b/src/transform/binding_remapper.cc
index aa6b7ad..2dc14a3 100644
--- a/src/transform/binding_remapper.cc
+++ b/src/transform/binding_remapper.cc
@@ -17,8 +17,8 @@
#include <utility>
#include "src/program_builder.h"
+#include "src/sem/access_control_type.h"
#include "src/sem/variable.h"
-#include "src/type/access_control_type.h"
TINT_INSTANTIATE_TYPEINFO(tint::transform::BindingRemapper::Remappings);
diff --git a/src/transform/decompose_storage_access.cc b/src/transform/decompose_storage_access.cc
index ea9c5bb..63e8ebd 100644
--- a/src/transform/decompose_storage_access.cc
+++ b/src/transform/decompose_storage_access.cc
@@ -24,12 +24,12 @@
#include "src/ast/call_statement.h"
#include "src/ast/scalar_constructor_expression.h"
#include "src/program_builder.h"
+#include "src/sem/access_control_type.h"
#include "src/sem/array.h"
#include "src/sem/call.h"
#include "src/sem/member_accessor_expression.h"
#include "src/sem/struct.h"
#include "src/sem/variable.h"
-#include "src/type/access_control_type.h"
#include "src/utils/get_or_create.h"
#include "src/utils/hash.h"
diff --git a/src/writer/hlsl/generator_impl.cc b/src/writer/hlsl/generator_impl.cc
index 6efadf4..52cc06a 100644
--- a/src/writer/hlsl/generator_impl.cc
+++ b/src/writer/hlsl/generator_impl.cc
@@ -22,19 +22,19 @@
#include "src/ast/fallthrough_statement.h"
#include "src/ast/internal_decoration.h"
#include "src/ast/variable_decl_statement.h"
+#include "src/sem/access_control_type.h"
#include "src/sem/array.h"
#include "src/sem/call.h"
+#include "src/sem/depth_texture_type.h"
#include "src/sem/function.h"
#include "src/sem/member_accessor_expression.h"
+#include "src/sem/multisampled_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
+#include "src/sem/storage_texture_type.h"
#include "src/sem/struct.h"
#include "src/sem/variable.h"
#include "src/transform/calculate_array_length.h"
#include "src/transform/decompose_storage_access.h"
-#include "src/type/access_control_type.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/multisampled_texture_type.h"
-#include "src/type/sampled_texture_type.h"
-#include "src/type/storage_texture_type.h"
#include "src/writer/append_vector.h"
#include "src/writer/float_to_string.h"
diff --git a/src/writer/hlsl/generator_impl_function_test.cc b/src/writer/hlsl/generator_impl_function_test.cc
index 0f73a30..3e7daf6 100644
--- a/src/writer/hlsl/generator_impl_function_test.cc
+++ b/src/writer/hlsl/generator_impl_function_test.cc
@@ -17,7 +17,7 @@
#include "src/ast/struct_block_decoration.h"
#include "src/ast/variable_decl_statement.h"
#include "src/ast/workgroup_decoration.h"
-#include "src/type/access_control_type.h"
+#include "src/sem/access_control_type.h"
#include "src/writer/hlsl/test_helper.h"
using ::testing::HasSubstr;
diff --git a/src/writer/hlsl/generator_impl_member_accessor_test.cc b/src/writer/hlsl/generator_impl_member_accessor_test.cc
index dec7275..f25e691 100644
--- a/src/writer/hlsl/generator_impl_member_accessor_test.cc
+++ b/src/writer/hlsl/generator_impl_member_accessor_test.cc
@@ -15,7 +15,7 @@
#include "gmock/gmock.h"
#include "src/ast/stage_decoration.h"
#include "src/ast/struct_block_decoration.h"
-#include "src/type/access_control_type.h"
+#include "src/sem/access_control_type.h"
#include "src/writer/hlsl/test_helper.h"
namespace tint {
diff --git a/src/writer/hlsl/generator_impl_sanitizer_test.cc b/src/writer/hlsl/generator_impl_sanitizer_test.cc
index 7093713..c167aaf 100644
--- a/src/writer/hlsl/generator_impl_sanitizer_test.cc
+++ b/src/writer/hlsl/generator_impl_sanitizer_test.cc
@@ -15,7 +15,7 @@
#include "src/ast/stage_decoration.h"
#include "src/ast/struct_block_decoration.h"
#include "src/ast/variable_decl_statement.h"
-#include "src/type/access_control_type.h"
+#include "src/sem/access_control_type.h"
#include "src/writer/hlsl/test_helper.h"
namespace tint {
diff --git a/src/writer/hlsl/generator_impl_type_test.cc b/src/writer/hlsl/generator_impl_type_test.cc
index de36717..9e77e94 100644
--- a/src/writer/hlsl/generator_impl_type_test.cc
+++ b/src/writer/hlsl/generator_impl_type_test.cc
@@ -16,11 +16,11 @@
#include "src/ast/call_statement.h"
#include "src/ast/stage_decoration.h"
#include "src/ast/struct_block_decoration.h"
-#include "src/type/access_control_type.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/multisampled_texture_type.h"
-#include "src/type/sampled_texture_type.h"
-#include "src/type/storage_texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/depth_texture_type.h"
+#include "src/sem/multisampled_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
+#include "src/sem/storage_texture_type.h"
#include "src/writer/hlsl/test_helper.h"
namespace tint {
diff --git a/src/writer/msl/generator_impl.cc b/src/writer/msl/generator_impl.cc
index 2fb8fc2..018d453 100644
--- a/src/writer/msl/generator_impl.cc
+++ b/src/writer/msl/generator_impl.cc
@@ -28,27 +28,27 @@
#include "src/ast/sint_literal.h"
#include "src/ast/uint_literal.h"
#include "src/ast/variable_decl_statement.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/alias_type.h"
#include "src/sem/array.h"
+#include "src/sem/array_type.h"
+#include "src/sem/bool_type.h"
#include "src/sem/call.h"
+#include "src/sem/depth_texture_type.h"
+#include "src/sem/f32_type.h"
#include "src/sem/function.h"
+#include "src/sem/i32_type.h"
+#include "src/sem/matrix_type.h"
#include "src/sem/member_accessor_expression.h"
+#include "src/sem/multisampled_texture_type.h"
+#include "src/sem/pointer_type.h"
+#include "src/sem/sampled_texture_type.h"
+#include "src/sem/storage_texture_type.h"
#include "src/sem/struct.h"
+#include "src/sem/u32_type.h"
#include "src/sem/variable.h"
-#include "src/type/access_control_type.h"
-#include "src/type/alias_type.h"
-#include "src/type/array_type.h"
-#include "src/type/bool_type.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/f32_type.h"
-#include "src/type/i32_type.h"
-#include "src/type/matrix_type.h"
-#include "src/type/multisampled_texture_type.h"
-#include "src/type/pointer_type.h"
-#include "src/type/sampled_texture_type.h"
-#include "src/type/storage_texture_type.h"
-#include "src/type/u32_type.h"
-#include "src/type/vector_type.h"
-#include "src/type/void_type.h"
+#include "src/sem/vector_type.h"
+#include "src/sem/void_type.h"
#include "src/writer/float_to_string.h"
namespace tint {
diff --git a/src/writer/msl/generator_impl.h b/src/writer/msl/generator_impl.h
index fd1f9fb..ad74cb0 100644
--- a/src/writer/msl/generator_impl.h
+++ b/src/writer/msl/generator_impl.h
@@ -35,7 +35,7 @@
#include "src/ast/unary_op_expression.h"
#include "src/program.h"
#include "src/scope_stack.h"
-#include "src/type/struct_type.h"
+#include "src/sem/struct_type.h"
#include "src/writer/text_generator.h"
namespace tint {
diff --git a/src/writer/msl/generator_impl_function_test.cc b/src/writer/msl/generator_impl_function_test.cc
index 34b0b31..473d321 100644
--- a/src/writer/msl/generator_impl_function_test.cc
+++ b/src/writer/msl/generator_impl_function_test.cc
@@ -15,7 +15,7 @@
#include "src/ast/stage_decoration.h"
#include "src/ast/struct_block_decoration.h"
#include "src/ast/variable_decl_statement.h"
-#include "src/type/access_control_type.h"
+#include "src/sem/access_control_type.h"
#include "src/writer/msl/test_helper.h"
namespace tint {
diff --git a/src/writer/msl/generator_impl_type_test.cc b/src/writer/msl/generator_impl_type_test.cc
index 0a00963..2c37762 100644
--- a/src/writer/msl/generator_impl_type_test.cc
+++ b/src/writer/msl/generator_impl_type_test.cc
@@ -15,11 +15,11 @@
#include <array>
#include "src/ast/struct_block_decoration.h"
-#include "src/type/access_control_type.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/multisampled_texture_type.h"
-#include "src/type/sampled_texture_type.h"
-#include "src/type/storage_texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/depth_texture_type.h"
+#include "src/sem/multisampled_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
+#include "src/sem/storage_texture_type.h"
#include "src/writer/msl/test_helper.h"
namespace tint {
diff --git a/src/writer/spirv/builder.cc b/src/writer/spirv/builder.cc
index fd80ef3..de53041 100644
--- a/src/writer/spirv/builder.cc
+++ b/src/writer/spirv/builder.cc
@@ -23,13 +23,13 @@
#include "src/ast/fallthrough_statement.h"
#include "src/sem/array.h"
#include "src/sem/call.h"
+#include "src/sem/depth_texture_type.h"
#include "src/sem/function.h"
#include "src/sem/intrinsic.h"
+#include "src/sem/multisampled_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
#include "src/sem/struct.h"
#include "src/sem/variable.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/multisampled_texture_type.h"
-#include "src/type/sampled_texture_type.h"
#include "src/writer/append_vector.h"
namespace tint {
diff --git a/src/writer/spirv/builder.h b/src/writer/spirv/builder.h
index 878ab25..5f44e0f 100644
--- a/src/writer/spirv/builder.h
+++ b/src/writer/spirv/builder.h
@@ -34,8 +34,8 @@
#include "src/ast/variable_decl_statement.h"
#include "src/program_builder.h"
#include "src/scope_stack.h"
-#include "src/type/access_control_type.h"
-#include "src/type/storage_texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/storage_texture_type.h"
#include "src/writer/spirv/function.h"
#include "src/writer/spirv/scalar_constant.h"
diff --git a/src/writer/spirv/builder_entry_point_test.cc b/src/writer/spirv/builder_entry_point_test.cc
index 3e02d1a..555b93c 100644
--- a/src/writer/spirv/builder_entry_point_test.cc
+++ b/src/writer/spirv/builder_entry_point_test.cc
@@ -23,8 +23,8 @@
#include "src/ast/storage_class.h"
#include "src/ast/variable.h"
#include "src/program.h"
-#include "src/type/f32_type.h"
-#include "src/type/vector_type.h"
+#include "src/sem/f32_type.h"
+#include "src/sem/vector_type.h"
#include "src/writer/spirv/builder.h"
#include "src/writer/spirv/spv_dump.h"
#include "src/writer/spirv/test_helper.h"
diff --git a/src/writer/spirv/builder_intrinsic_test.cc b/src/writer/spirv/builder_intrinsic_test.cc
index 3a0457d..8e21765 100644
--- a/src/writer/spirv/builder_intrinsic_test.cc
+++ b/src/writer/spirv/builder_intrinsic_test.cc
@@ -15,7 +15,7 @@
#include "src/ast/call_statement.h"
#include "src/ast/stage_decoration.h"
#include "src/ast/struct_block_decoration.h"
-#include "src/type/depth_texture_type.h"
+#include "src/sem/depth_texture_type.h"
#include "src/writer/spirv/spv_dump.h"
#include "src/writer/spirv/test_helper.h"
diff --git a/src/writer/spirv/builder_type_test.cc b/src/writer/spirv/builder_type_test.cc
index 812cbb5..4fd9b32 100644
--- a/src/writer/spirv/builder_type_test.cc
+++ b/src/writer/spirv/builder_type_test.cc
@@ -13,9 +13,9 @@
// limitations under the License.
#include "src/ast/struct_block_decoration.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/multisampled_texture_type.h"
-#include "src/type/sampled_texture_type.h"
+#include "src/sem/depth_texture_type.h"
+#include "src/sem/multisampled_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
#include "src/writer/spirv/spv_dump.h"
#include "src/writer/spirv/test_helper.h"
diff --git a/src/writer/wgsl/generator_impl.cc b/src/writer/wgsl/generator_impl.cc
index 212a8aa..4f4dfaf 100644
--- a/src/writer/wgsl/generator_impl.cc
+++ b/src/writer/wgsl/generator_impl.cc
@@ -32,23 +32,23 @@
#include "src/ast/uint_literal.h"
#include "src/ast/variable_decl_statement.h"
#include "src/ast/workgroup_decoration.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/alias_type.h"
+#include "src/sem/array_type.h"
+#include "src/sem/bool_type.h"
+#include "src/sem/depth_texture_type.h"
+#include "src/sem/f32_type.h"
#include "src/sem/function.h"
+#include "src/sem/i32_type.h"
+#include "src/sem/matrix_type.h"
+#include "src/sem/multisampled_texture_type.h"
+#include "src/sem/pointer_type.h"
+#include "src/sem/sampled_texture_type.h"
#include "src/sem/struct.h"
+#include "src/sem/u32_type.h"
#include "src/sem/variable.h"
-#include "src/type/access_control_type.h"
-#include "src/type/alias_type.h"
-#include "src/type/array_type.h"
-#include "src/type/bool_type.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/f32_type.h"
-#include "src/type/i32_type.h"
-#include "src/type/matrix_type.h"
-#include "src/type/multisampled_texture_type.h"
-#include "src/type/pointer_type.h"
-#include "src/type/sampled_texture_type.h"
-#include "src/type/u32_type.h"
-#include "src/type/vector_type.h"
-#include "src/type/void_type.h"
+#include "src/sem/vector_type.h"
+#include "src/sem/void_type.h"
#include "src/utils/math.h"
#include "src/writer/float_to_string.h"
diff --git a/src/writer/wgsl/generator_impl.h b/src/writer/wgsl/generator_impl.h
index 0c0bb51..5ac967f 100644
--- a/src/writer/wgsl/generator_impl.h
+++ b/src/writer/wgsl/generator_impl.h
@@ -34,8 +34,8 @@
#include "src/ast/type_constructor_expression.h"
#include "src/ast/unary_op_expression.h"
#include "src/program.h"
-#include "src/type/storage_texture_type.h"
-#include "src/type/struct_type.h"
+#include "src/sem/storage_texture_type.h"
+#include "src/sem/struct_type.h"
#include "src/writer/text_generator.h"
namespace tint {
diff --git a/src/writer/wgsl/generator_impl_function_test.cc b/src/writer/wgsl/generator_impl_function_test.cc
index b5dfe45..617ec00 100644
--- a/src/writer/wgsl/generator_impl_function_test.cc
+++ b/src/writer/wgsl/generator_impl_function_test.cc
@@ -16,7 +16,7 @@
#include "src/ast/struct_block_decoration.h"
#include "src/ast/variable_decl_statement.h"
#include "src/ast/workgroup_decoration.h"
-#include "src/type/access_control_type.h"
+#include "src/sem/access_control_type.h"
#include "src/writer/wgsl/test_helper.h"
namespace tint {
diff --git a/src/writer/wgsl/generator_impl_global_decl_test.cc b/src/writer/wgsl/generator_impl_global_decl_test.cc
index a2a0ab9..6dd6ca2 100644
--- a/src/writer/wgsl/generator_impl_global_decl_test.cc
+++ b/src/writer/wgsl/generator_impl_global_decl_test.cc
@@ -14,8 +14,8 @@
#include "src/ast/stage_decoration.h"
#include "src/ast/variable_decl_statement.h"
-#include "src/type/access_control_type.h"
-#include "src/type/sampled_texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/sampled_texture_type.h"
#include "src/writer/wgsl/test_helper.h"
namespace tint {
diff --git a/src/writer/wgsl/generator_impl_type_test.cc b/src/writer/wgsl/generator_impl_type_test.cc
index 71721aa..167fef7 100644
--- a/src/writer/wgsl/generator_impl_type_test.cc
+++ b/src/writer/wgsl/generator_impl_type_test.cc
@@ -13,10 +13,10 @@
// limitations under the License.
#include "src/ast/struct_block_decoration.h"
-#include "src/type/access_control_type.h"
-#include "src/type/depth_texture_type.h"
-#include "src/type/multisampled_texture_type.h"
-#include "src/type/sampled_texture_type.h"
+#include "src/sem/access_control_type.h"
+#include "src/sem/depth_texture_type.h"
+#include "src/sem/multisampled_texture_type.h"
+#include "src/sem/sampled_texture_type.h"
#include "src/writer/wgsl/test_helper.h"
namespace tint {
diff --git a/test/BUILD.gn b/test/BUILD.gn
index a64d410..ba2a815 100644
--- a/test/BUILD.gn
+++ b/test/BUILD.gn
@@ -219,6 +219,25 @@
"../src/resolver/type_validation_test.cc",
"../src/resolver/validation_test.cc",
"../src/scope_stack_test.cc",
+ "../src/sem/access_control_type_test.cc",
+ "../src/sem/alias_type_test.cc",
+ "../src/sem/array_type_test.cc",
+ "../src/sem/bool_type_test.cc",
+ "../src/sem/depth_texture_type_test.cc",
+ "../src/sem/external_texture_type_test.cc",
+ "../src/sem/f32_type_test.cc",
+ "../src/sem/i32_type_test.cc",
+ "../src/sem/matrix_type_test.cc",
+ "../src/sem/multisampled_texture_type_test.cc",
+ "../src/sem/pointer_type_test.cc",
+ "../src/sem/sampled_texture_type_test.cc",
+ "../src/sem/sampler_type_test.cc",
+ "../src/sem/storage_texture_type_test.cc",
+ "../src/sem/struct_type_test.cc",
+ "../src/sem/texture_type_test.cc",
+ "../src/sem/type_manager_test.cc",
+ "../src/sem/u32_type_test.cc",
+ "../src/sem/vector_type_test.cc",
"../src/symbol_table_test.cc",
"../src/symbol_test.cc",
"../src/traits_test.cc",
@@ -232,25 +251,6 @@
"../src/transform/renamer_test.cc",
"../src/transform/test_helper.h",
"../src/transform/vertex_pulling_test.cc",
- "../src/type/access_control_type_test.cc",
- "../src/type/alias_type_test.cc",
- "../src/type/array_type_test.cc",
- "../src/type/bool_type_test.cc",
- "../src/type/depth_texture_type_test.cc",
- "../src/type/external_texture_type_test.cc",
- "../src/type/f32_type_test.cc",
- "../src/type/i32_type_test.cc",
- "../src/type/matrix_type_test.cc",
- "../src/type/multisampled_texture_type_test.cc",
- "../src/type/pointer_type_test.cc",
- "../src/type/sampled_texture_type_test.cc",
- "../src/type/sampler_type_test.cc",
- "../src/type/storage_texture_type_test.cc",
- "../src/type/struct_type_test.cc",
- "../src/type/texture_type_test.cc",
- "../src/type/type_manager_test.cc",
- "../src/type/u32_type_test.cc",
- "../src/type/vector_type_test.cc",
"../src/utils/command.h",
"../src/utils/command_test.cc",
"../src/utils/get_or_create_test.cc",