gpu: reduce compilation units to improve iteration time by ~763ms

See hexops/mach#124

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-12-10 06:31:07 -07:00 committed by Stephen Gutekanst
parent 4a9fda49e0
commit fe17507689
8 changed files with 213 additions and 221 deletions

View file

@ -664,6 +664,10 @@ fn buildLibTint(b: *Builder, step: *std.build.LibExeObjStep, options: Options) *
"-DTINT_BUILD_HLSL_WRITER=1", "-DTINT_BUILD_HLSL_WRITER=1",
"-DTINT_BUILD_GLSL_WRITER=1", "-DTINT_BUILD_GLSL_WRITER=1",
include("libs/dawn"),
include("libs/dawn/third_party/tint"),
include("libs/dawn/third_party/tint/include"),
// Required for TINT_BUILD_SPV_READER=1 and TINT_BUILD_SPV_WRITER=1, if specified // Required for TINT_BUILD_SPV_READER=1 and TINT_BUILD_SPV_WRITER=1, if specified
include("libs/dawn/third_party/vulkan-deps"), include("libs/dawn/third_party/vulkan-deps"),
include("libs/dawn/third_party/vulkan-deps/spirv-tools/src"), include("libs/dawn/third_party/vulkan-deps/spirv-tools/src"),
@ -671,156 +675,15 @@ fn buildLibTint(b: *Builder, step: *std.build.LibExeObjStep, options: Options) *
include("libs/dawn/third_party/vulkan-deps/spirv-headers/src/include"), include("libs/dawn/third_party/vulkan-deps/spirv-headers/src/include"),
include("libs/dawn/out/Debug/gen/third_party/vulkan-deps/spirv-tools/src"), include("libs/dawn/out/Debug/gen/third_party/vulkan-deps/spirv-tools/src"),
include("libs/dawn/out/Debug/gen/third_party/vulkan-deps/spirv-tools/src/include"), include("libs/dawn/out/Debug/gen/third_party/vulkan-deps/spirv-tools/src/include"),
include("libs/dawn/third_party/tint"),
include("libs/dawn/third_party/tint/include"),
}) catch unreachable; }) catch unreachable;
// libtint_core_all_src // libtint_core_all_src
for ([_][]const u8{ lib.addCSourceFiles(&.{
"third_party/tint/src/ast/access.cc", thisDir() ++ "/src/dawn/sources/tint_core_all_src.cc",
"third_party/tint/src/ast/alias.cc", thisDir() ++ "/src/dawn/sources/tint_core_all_src_2.cc",
"third_party/tint/src/ast/array.cc", thisDir() ++ "/libs/dawn/third_party/tint/src/ast/node.cc",
"third_party/tint/src/ast/assignment_statement.cc", thisDir() ++ "/libs/dawn/third_party/tint/src/ast/texture.cc",
"third_party/tint/src/ast/ast_type.cc", }, flags.items);
"third_party/tint/src/ast/atomic.cc",
"third_party/tint/src/ast/binary_expression.cc",
"third_party/tint/src/ast/binding_decoration.cc",
"third_party/tint/src/ast/bitcast_expression.cc",
"third_party/tint/src/ast/block_statement.cc",
"third_party/tint/src/ast/bool.cc",
"third_party/tint/src/ast/bool_literal_expression.cc",
"third_party/tint/src/ast/break_statement.cc",
"third_party/tint/src/ast/builtin.cc",
"third_party/tint/src/ast/builtin_decoration.cc",
"third_party/tint/src/ast/call_expression.cc",
"third_party/tint/src/ast/call_statement.cc",
"third_party/tint/src/ast/case_statement.cc",
"third_party/tint/src/ast/continue_statement.cc",
"third_party/tint/src/ast/decoration.cc",
"third_party/tint/src/ast/depth_multisampled_texture.cc",
"third_party/tint/src/ast/depth_texture.cc",
"third_party/tint/src/ast/disable_validation_decoration.cc",
"third_party/tint/src/ast/discard_statement.cc",
"third_party/tint/src/ast/else_statement.cc",
"third_party/tint/src/ast/expression.cc",
"third_party/tint/src/ast/external_texture.cc",
"third_party/tint/src/ast/f32.cc",
"third_party/tint/src/ast/fallthrough_statement.cc",
"third_party/tint/src/ast/float_literal_expression.cc",
"third_party/tint/src/ast/for_loop_statement.cc",
"third_party/tint/src/ast/function.cc",
"third_party/tint/src/ast/group_decoration.cc",
"third_party/tint/src/ast/i32.cc",
"third_party/tint/src/ast/identifier_expression.cc",
"third_party/tint/src/ast/if_statement.cc",
"third_party/tint/src/ast/index_accessor_expression.cc",
"third_party/tint/src/ast/int_literal_expression.cc",
"third_party/tint/src/ast/internal_decoration.cc",
"third_party/tint/src/ast/interpolate_decoration.cc",
"third_party/tint/src/ast/invariant_decoration.cc",
"third_party/tint/src/ast/literal_expression.cc",
"third_party/tint/src/ast/location_decoration.cc",
"third_party/tint/src/ast/loop_statement.cc",
"third_party/tint/src/ast/matrix.cc",
"third_party/tint/src/ast/member_accessor_expression.cc",
"third_party/tint/src/ast/module.cc",
"third_party/tint/src/ast/multisampled_texture.cc",
"third_party/tint/src/ast/node.cc",
"third_party/tint/src/ast/override_decoration.cc",
"third_party/tint/src/ast/phony_expression.cc",
"third_party/tint/src/ast/pipeline_stage.cc",
"third_party/tint/src/ast/pointer.cc",
"third_party/tint/src/ast/return_statement.cc",
"third_party/tint/src/ast/sampled_texture.cc",
"third_party/tint/src/ast/sampler.cc",
"third_party/tint/src/ast/sint_literal_expression.cc",
"third_party/tint/src/ast/stage_decoration.cc",
"third_party/tint/src/ast/statement.cc",
"third_party/tint/src/ast/storage_class.cc",
"third_party/tint/src/ast/storage_texture.cc",
"third_party/tint/src/ast/stride_decoration.cc",
"third_party/tint/src/ast/struct.cc",
"third_party/tint/src/ast/struct_block_decoration.cc",
"third_party/tint/src/ast/struct_member.cc",
"third_party/tint/src/ast/struct_member_align_decoration.cc",
"third_party/tint/src/ast/struct_member_offset_decoration.cc",
"third_party/tint/src/ast/struct_member_size_decoration.cc",
"third_party/tint/src/ast/switch_statement.cc",
"third_party/tint/src/ast/texture.cc",
"third_party/tint/src/ast/type_decl.cc",
"third_party/tint/src/ast/type_name.cc",
"third_party/tint/src/ast/u32.cc",
"third_party/tint/src/ast/uint_literal_expression.cc",
"third_party/tint/src/ast/unary_op.cc",
"third_party/tint/src/ast/unary_op_expression.cc",
"third_party/tint/src/ast/variable.cc",
"third_party/tint/src/ast/variable_decl_statement.cc",
"third_party/tint/src/ast/vector.cc",
"third_party/tint/src/ast/void.cc",
"third_party/tint/src/ast/workgroup_decoration.cc",
"third_party/tint/src/castable.cc",
"third_party/tint/src/clone_context.cc",
"third_party/tint/src/debug.cc",
"third_party/tint/src/demangler.cc",
"third_party/tint/src/diagnostic/diagnostic.cc",
"third_party/tint/src/diagnostic/formatter.cc",
"third_party/tint/src/diagnostic/printer.cc",
"third_party/tint/src/inspector/entry_point.cc",
"third_party/tint/src/inspector/inspector.cc",
"third_party/tint/src/inspector/resource_binding.cc",
"third_party/tint/src/inspector/scalar.cc",
"third_party/tint/src/intrinsic_table.cc",
"third_party/tint/src/program.cc",
"third_party/tint/src/program_builder.cc",
"third_party/tint/src/program_id.cc",
"third_party/tint/src/reader/reader.cc",
"third_party/tint/src/resolver/dependency_graph.cc",
"third_party/tint/src/resolver/resolver.cc",
"third_party/tint/src/resolver/resolver_constants.cc",
"third_party/tint/src/resolver/resolver_validation.cc",
"third_party/tint/src/source.cc",
"third_party/tint/src/symbol.cc",
"third_party/tint/src/symbol_table.cc",
"third_party/tint/src/transform/add_empty_entry_point.cc",
"third_party/tint/src/transform/array_length_from_uniform.cc",
"third_party/tint/src/transform/binding_remapper.cc",
"third_party/tint/src/transform/calculate_array_length.cc",
"third_party/tint/src/transform/canonicalize_entry_point_io.cc",
"third_party/tint/src/transform/decompose_memory_access.cc",
"third_party/tint/src/transform/decompose_strided_matrix.cc",
"third_party/tint/src/transform/external_texture_transform.cc",
"third_party/tint/src/transform/first_index_offset.cc",
"third_party/tint/src/transform/fold_constants.cc",
"third_party/tint/src/transform/fold_trivial_single_use_lets.cc",
"third_party/tint/src/transform/for_loop_to_loop.cc",
"third_party/tint/src/transform/loop_to_for_loop.cc",
"third_party/tint/src/transform/manager.cc",
"third_party/tint/src/transform/module_scope_var_to_entry_point_param.cc",
"third_party/tint/src/transform/multiplanar_external_texture.cc",
"third_party/tint/src/transform/num_workgroups_from_uniform.cc",
"third_party/tint/src/transform/pad_array_elements.cc",
"third_party/tint/src/transform/promote_initializers_to_const_var.cc",
"third_party/tint/src/transform/remove_phonies.cc",
"third_party/tint/src/transform/renamer.cc",
"third_party/tint/src/transform/robustness.cc",
"third_party/tint/src/transform/simplify_pointers.cc",
"third_party/tint/src/transform/single_entry_point.cc",
"third_party/tint/src/transform/transform.cc",
"third_party/tint/src/transform/unshadow.cc",
"third_party/tint/src/transform/vectorize_scalar_matrix_constructors.cc",
"third_party/tint/src/transform/vertex_pulling.cc",
"third_party/tint/src/transform/wrap_arrays_in_structs.cc",
"third_party/tint/src/transform/zero_init_workgroup_memory.cc",
"third_party/tint/src/writer/append_vector.cc",
"third_party/tint/src/writer/array_length_from_uniform_options.cc",
"third_party/tint/src/writer/float_to_string.cc",
"third_party/tint/src/writer/text.cc",
"third_party/tint/src/writer/text_generator.cc",
"third_party/tint/src/writer/writer.cc",
}) |path| {
var abs_path = std.fs.path.join(b.allocator, &.{ thisDir(), "libs/dawn", path }) catch unreachable;
lib.addCSourceFile(abs_path, flags.items);
}
const target = (std.zig.system.NativeTargetInfo.detect(b.allocator, step.target) catch unreachable).target; const target = (std.zig.system.NativeTargetInfo.detect(b.allocator, step.target) catch unreachable).target;
switch (target.os.tag) { switch (target.os.tag) {
@ -830,83 +693,18 @@ fn buildLibTint(b: *Builder, step: *std.build.LibExeObjStep, options: Options) *
} }
// libtint_sem_src // libtint_sem_src
for ([_][]const u8{ lib.addCSourceFiles(&.{
"third_party/tint/src/sem/array.cc", thisDir() ++ "/src/dawn/sources/tint_sem_src.cc",
"third_party/tint/src/sem/atomic_type.cc", thisDir() ++ "/src/dawn/sources/tint_sem_src_2.cc",
"third_party/tint/src/sem/behavior.cc", thisDir() ++ "/libs/dawn/third_party/tint/src/sem/node.cc",
"third_party/tint/src/sem/block_statement.cc", thisDir() ++ "/libs/dawn/third_party/tint/src/sem/texture_type.cc",
"third_party/tint/src/sem/bool_type.cc", }, flags.items);
"third_party/tint/src/sem/call.cc",
"third_party/tint/src/sem/call_target.cc",
"third_party/tint/src/sem/constant.cc",
"third_party/tint/src/sem/depth_multisampled_texture_type.cc",
"third_party/tint/src/sem/depth_texture_type.cc",
"third_party/tint/src/sem/expression.cc",
"third_party/tint/src/sem/external_texture_type.cc",
"third_party/tint/src/sem/f32_type.cc",
"third_party/tint/src/sem/for_loop_statement.cc",
"third_party/tint/src/sem/function.cc",
"third_party/tint/src/sem/i32_type.cc",
"third_party/tint/src/sem/if_statement.cc",
"third_party/tint/src/sem/info.cc",
"third_party/tint/src/sem/intrinsic.cc",
"third_party/tint/src/sem/intrinsic_type.cc",
"third_party/tint/src/sem/loop_statement.cc",
"third_party/tint/src/sem/matrix_type.cc",
"third_party/tint/src/sem/member_accessor_expression.cc",
"third_party/tint/src/sem/multisampled_texture_type.cc",
"third_party/tint/src/sem/node.cc",
"third_party/tint/src/sem/parameter_usage.cc",
"third_party/tint/src/sem/pointer_type.cc",
"third_party/tint/src/sem/reference_type.cc",
"third_party/tint/src/sem/sampled_texture_type.cc",
"third_party/tint/src/sem/sampler_type.cc",
"third_party/tint/src/sem/statement.cc",
"third_party/tint/src/sem/storage_texture_type.cc",
"third_party/tint/src/sem/struct.cc",
"third_party/tint/src/sem/switch_statement.cc",
"third_party/tint/src/sem/texture_type.cc",
"third_party/tint/src/sem/type.cc",
"third_party/tint/src/sem/type_constructor.cc",
"third_party/tint/src/sem/type_conversion.cc",
"third_party/tint/src/sem/type_manager.cc",
"third_party/tint/src/sem/u32_type.cc",
"third_party/tint/src/sem/variable.cc",
"third_party/tint/src/sem/vector_type.cc",
"third_party/tint/src/sem/void_type.cc",
}) |path| {
var abs_path = std.fs.path.join(b.allocator, &.{ thisDir(), "libs/dawn", path }) catch unreachable;
lib.addCSourceFile(abs_path, flags.items);
}
// libtint_spv_reader_src // libtint_spv_reader_src
for ([_][]const u8{ lib.addCSourceFile(thisDir() ++ "/src/dawn/sources/tint_spv_reader_src.cc", flags.items);
"third_party/tint/src/reader/spirv/construct.cc",
"third_party/tint/src/reader/spirv/entry_point_info.cc",
"third_party/tint/src/reader/spirv/enum_converter.cc",
"third_party/tint/src/reader/spirv/function.cc",
"third_party/tint/src/reader/spirv/namer.cc",
"third_party/tint/src/reader/spirv/parser.cc",
"third_party/tint/src/reader/spirv/parser_impl.cc",
"third_party/tint/src/reader/spirv/parser_type.cc",
"third_party/tint/src/reader/spirv/usage.cc",
}) |path| {
var abs_path = std.fs.path.join(b.allocator, &.{ thisDir(), "libs/dawn", path }) catch unreachable;
lib.addCSourceFile(abs_path, flags.items);
}
// libtint_spv_writer_src // libtint_spv_writer_src
for ([_][]const u8{ lib.addCSourceFile(thisDir() ++ "/src/dawn/sources/tint_spv_writer_src.cc", flags.items);
"third_party/tint/src/writer/spirv/binary_writer.cc",
"third_party/tint/src/writer/spirv/builder.cc",
"third_party/tint/src/writer/spirv/function.cc",
"third_party/tint/src/writer/spirv/generator.cc",
"third_party/tint/src/writer/spirv/instruction.cc",
"third_party/tint/src/writer/spirv/operand.cc",
}) |path| {
var abs_path = std.fs.path.join(b.allocator, &.{ thisDir(), "libs/dawn", path }) catch unreachable;
lib.addCSourceFile(abs_path, flags.items);
}
// TODO(build-system): make optional // TODO(build-system): make optional
// libtint_wgsl_reader_src // libtint_wgsl_reader_src
@ -1074,7 +872,7 @@ fn buildLibAbseilCpp(b: *Builder, step: *std.build.LibExeObjStep, options: Optio
// absl // absl
lib.addCSourceFiles(&.{ lib.addCSourceFiles(&.{
thisDir() ++ "/src/dawn/sources/abseil.cpp", thisDir() ++ "/src/dawn/sources/abseil.cc",
thisDir() ++ "/libs/dawn/third_party/abseil-cpp/absl/strings/numbers.cc", thisDir() ++ "/libs/dawn/third_party/abseil-cpp/absl/strings/numbers.cc",
thisDir() ++ "/libs/dawn/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc", thisDir() ++ "/libs/dawn/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc",
thisDir() ++ "/libs/dawn/third_party/abseil-cpp/absl/time/format.cc", thisDir() ++ "/libs/dawn/third_party/abseil-cpp/absl/time/format.cc",

View file

@ -0,0 +1,129 @@
#include "third_party/tint/src/ast/access.cc"
#include "third_party/tint/src/ast/alias.cc"
#include "third_party/tint/src/ast/array.cc"
#include "third_party/tint/src/ast/assignment_statement.cc"
#include "third_party/tint/src/ast/atomic.cc"
#include "third_party/tint/src/ast/binary_expression.cc"
#include "third_party/tint/src/ast/binding_decoration.cc"
#include "third_party/tint/src/ast/bitcast_expression.cc"
#include "third_party/tint/src/ast/block_statement.cc"
#include "third_party/tint/src/ast/bool.cc"
#include "third_party/tint/src/ast/bool_literal_expression.cc"
#include "third_party/tint/src/ast/break_statement.cc"
#include "third_party/tint/src/ast/builtin.cc"
#include "third_party/tint/src/ast/builtin_decoration.cc"
#include "third_party/tint/src/ast/call_expression.cc"
#include "third_party/tint/src/ast/call_statement.cc"
#include "third_party/tint/src/ast/case_statement.cc"
#include "third_party/tint/src/ast/continue_statement.cc"
#include "third_party/tint/src/ast/depth_multisampled_texture.cc"
#include "third_party/tint/src/ast/disable_validation_decoration.cc"
#include "third_party/tint/src/ast/discard_statement.cc"
#include "third_party/tint/src/ast/else_statement.cc"
#include "third_party/tint/src/ast/external_texture.cc"
#include "third_party/tint/src/ast/f32.cc"
#include "third_party/tint/src/ast/fallthrough_statement.cc"
#include "third_party/tint/src/ast/float_literal_expression.cc"
#include "third_party/tint/src/ast/for_loop_statement.cc"
#include "third_party/tint/src/ast/function.cc"
#include "third_party/tint/src/ast/group_decoration.cc"
#include "third_party/tint/src/ast/i32.cc"
#include "third_party/tint/src/ast/identifier_expression.cc"
#include "third_party/tint/src/ast/if_statement.cc"
#include "third_party/tint/src/ast/index_accessor_expression.cc"
#include "third_party/tint/src/ast/int_literal_expression.cc"
#include "third_party/tint/src/ast/interpolate_decoration.cc"
#include "third_party/tint/src/ast/invariant_decoration.cc"
#include "third_party/tint/src/ast/location_decoration.cc"
#include "third_party/tint/src/ast/loop_statement.cc"
#include "third_party/tint/src/ast/matrix.cc"
#include "third_party/tint/src/ast/member_accessor_expression.cc"
#include "third_party/tint/src/ast/module.cc"
#include "third_party/tint/src/ast/multisampled_texture.cc"
#include "third_party/tint/src/ast/override_decoration.cc"
#include "third_party/tint/src/ast/phony_expression.cc"
#include "third_party/tint/src/ast/pipeline_stage.cc"
#include "third_party/tint/src/ast/pointer.cc"
#include "third_party/tint/src/ast/return_statement.cc"
#include "third_party/tint/src/ast/sampled_texture.cc"
#include "third_party/tint/src/ast/sampler.cc"
#include "third_party/tint/src/ast/sint_literal_expression.cc"
#include "third_party/tint/src/ast/stage_decoration.cc"
#include "third_party/tint/src/ast/storage_class.cc"
#include "third_party/tint/src/ast/storage_texture.cc"
#include "third_party/tint/src/ast/stride_decoration.cc"
#include "third_party/tint/src/ast/struct.cc"
#include "third_party/tint/src/ast/struct_block_decoration.cc"
#include "third_party/tint/src/ast/struct_member.cc"
#include "third_party/tint/src/ast/struct_member_align_decoration.cc"
#include "third_party/tint/src/ast/struct_member_offset_decoration.cc"
#include "third_party/tint/src/ast/struct_member_size_decoration.cc"
#include "third_party/tint/src/ast/switch_statement.cc"
#include "third_party/tint/src/ast/type_name.cc"
#include "third_party/tint/src/ast/u32.cc"
#include "third_party/tint/src/ast/uint_literal_expression.cc"
#include "third_party/tint/src/ast/unary_op.cc"
#include "third_party/tint/src/ast/unary_op_expression.cc"
#include "third_party/tint/src/ast/variable.cc"
#include "third_party/tint/src/ast/variable_decl_statement.cc"
#include "third_party/tint/src/ast/vector.cc"
#include "third_party/tint/src/ast/void.cc"
#include "third_party/tint/src/ast/workgroup_decoration.cc"
#include "third_party/tint/src/castable.cc"
#include "third_party/tint/src/clone_context.cc"
#include "third_party/tint/src/debug.cc"
#include "third_party/tint/src/demangler.cc"
#include "third_party/tint/src/diagnostic/diagnostic.cc"
#include "third_party/tint/src/diagnostic/formatter.cc"
#include "third_party/tint/src/diagnostic/printer.cc"
#include "third_party/tint/src/inspector/entry_point.cc"
#include "third_party/tint/src/inspector/inspector.cc"
#include "third_party/tint/src/inspector/resource_binding.cc"
#include "third_party/tint/src/inspector/scalar.cc"
#include "third_party/tint/src/intrinsic_table.cc"
#include "third_party/tint/src/program.cc"
#include "third_party/tint/src/program_builder.cc"
#include "third_party/tint/src/program_id.cc"
#include "third_party/tint/src/reader/reader.cc"
#include "third_party/tint/src/resolver/dependency_graph.cc"
#include "third_party/tint/src/resolver/resolver.cc"
#include "third_party/tint/src/resolver/resolver_constants.cc"
#include "third_party/tint/src/resolver/resolver_validation.cc"
#include "third_party/tint/src/source.cc"
#include "third_party/tint/src/symbol.cc"
#include "third_party/tint/src/symbol_table.cc"
#include "third_party/tint/src/transform/add_empty_entry_point.cc"
#include "third_party/tint/src/transform/array_length_from_uniform.cc"
#include "third_party/tint/src/transform/binding_remapper.cc"
#include "third_party/tint/src/transform/calculate_array_length.cc"
#include "third_party/tint/src/transform/canonicalize_entry_point_io.cc"
#include "third_party/tint/src/transform/decompose_memory_access.cc"
#include "third_party/tint/src/transform/decompose_strided_matrix.cc"
#include "third_party/tint/src/transform/external_texture_transform.cc"
#include "third_party/tint/src/transform/first_index_offset.cc"
#include "third_party/tint/src/transform/fold_constants.cc"
#include "third_party/tint/src/transform/fold_trivial_single_use_lets.cc"
#include "third_party/tint/src/transform/for_loop_to_loop.cc"
#include "third_party/tint/src/transform/loop_to_for_loop.cc"
#include "third_party/tint/src/transform/manager.cc"
#include "third_party/tint/src/transform/module_scope_var_to_entry_point_param.cc"
#include "third_party/tint/src/transform/multiplanar_external_texture.cc"
#include "third_party/tint/src/transform/num_workgroups_from_uniform.cc"
#include "third_party/tint/src/transform/pad_array_elements.cc"
#include "third_party/tint/src/transform/promote_initializers_to_const_var.cc"
#include "third_party/tint/src/transform/remove_phonies.cc"
#include "third_party/tint/src/transform/renamer.cc"
#include "third_party/tint/src/transform/robustness.cc"
#include "third_party/tint/src/transform/simplify_pointers.cc"
#include "third_party/tint/src/transform/single_entry_point.cc"
#include "third_party/tint/src/transform/unshadow.cc"
#include "third_party/tint/src/transform/vectorize_scalar_matrix_constructors.cc"
#include "third_party/tint/src/transform/vertex_pulling.cc"
#include "third_party/tint/src/transform/wrap_arrays_in_structs.cc"
#include "third_party/tint/src/transform/zero_init_workgroup_memory.cc"
#include "third_party/tint/src/writer/append_vector.cc"
#include "third_party/tint/src/writer/array_length_from_uniform_options.cc"
#include "third_party/tint/src/writer/float_to_string.cc"
#include "third_party/tint/src/writer/text.cc"
#include "third_party/tint/src/writer/text_generator.cc"
#include "third_party/tint/src/writer/writer.cc"

View file

@ -0,0 +1,9 @@
#include "third_party/tint/src/ast/ast_type.cc"
#include "third_party/tint/src/ast/decoration.cc"
#include "third_party/tint/src/ast/depth_texture.cc"
#include "third_party/tint/src/ast/expression.cc"
#include "third_party/tint/src/ast/internal_decoration.cc"
#include "third_party/tint/src/ast/literal_expression.cc"
#include "third_party/tint/src/ast/statement.cc"
#include "third_party/tint/src/ast/type_decl.cc"
#include "third_party/tint/src/transform/transform.cc"

View file

@ -0,0 +1,37 @@
#include "third_party/tint/src/sem/array.cc"
#include "third_party/tint/src/sem/atomic_type.cc"
#include "third_party/tint/src/sem/behavior.cc"
#include "third_party/tint/src/sem/block_statement.cc"
#include "third_party/tint/src/sem/bool_type.cc"
#include "third_party/tint/src/sem/call.cc"
#include "third_party/tint/src/sem/call_target.cc"
#include "third_party/tint/src/sem/constant.cc"
#include "third_party/tint/src/sem/depth_multisampled_texture_type.cc"
#include "third_party/tint/src/sem/external_texture_type.cc"
#include "third_party/tint/src/sem/f32_type.cc"
#include "third_party/tint/src/sem/for_loop_statement.cc"
#include "third_party/tint/src/sem/function.cc"
#include "third_party/tint/src/sem/i32_type.cc"
#include "third_party/tint/src/sem/if_statement.cc"
#include "third_party/tint/src/sem/info.cc"
#include "third_party/tint/src/sem/intrinsic.cc"
#include "third_party/tint/src/sem/intrinsic_type.cc"
#include "third_party/tint/src/sem/loop_statement.cc"
#include "third_party/tint/src/sem/matrix_type.cc"
#include "third_party/tint/src/sem/member_accessor_expression.cc"
#include "third_party/tint/src/sem/multisampled_texture_type.cc"
#include "third_party/tint/src/sem/parameter_usage.cc"
#include "third_party/tint/src/sem/pointer_type.cc"
#include "third_party/tint/src/sem/reference_type.cc"
#include "third_party/tint/src/sem/sampled_texture_type.cc"
#include "third_party/tint/src/sem/sampler_type.cc"
#include "third_party/tint/src/sem/storage_texture_type.cc"
#include "third_party/tint/src/sem/struct.cc"
#include "third_party/tint/src/sem/switch_statement.cc"
#include "third_party/tint/src/sem/type_constructor.cc"
#include "third_party/tint/src/sem/type_conversion.cc"
#include "third_party/tint/src/sem/type_manager.cc"
#include "third_party/tint/src/sem/u32_type.cc"
#include "third_party/tint/src/sem/variable.cc"
#include "third_party/tint/src/sem/vector_type.cc"
#include "third_party/tint/src/sem/void_type.cc"

View file

@ -0,0 +1,4 @@
#include "third_party/tint/src/sem/depth_texture_type.cc"
#include "third_party/tint/src/sem/expression.cc"
#include "third_party/tint/src/sem/statement.cc"
#include "third_party/tint/src/sem/type.cc"

View file

@ -0,0 +1,9 @@
#include "third_party/tint/src/reader/spirv/construct.cc"
#include "third_party/tint/src/reader/spirv/entry_point_info.cc"
#include "third_party/tint/src/reader/spirv/enum_converter.cc"
#include "third_party/tint/src/reader/spirv/function.cc"
#include "third_party/tint/src/reader/spirv/namer.cc"
#include "third_party/tint/src/reader/spirv/parser.cc"
#include "third_party/tint/src/reader/spirv/parser_impl.cc"
#include "third_party/tint/src/reader/spirv/parser_type.cc"
#include "third_party/tint/src/reader/spirv/usage.cc"

View file

@ -0,0 +1,6 @@
#include "third_party/tint/src/writer/spirv/binary_writer.cc"
#include "third_party/tint/src/writer/spirv/builder.cc"
#include "third_party/tint/src/writer/spirv/function.cc"
#include "third_party/tint/src/writer/spirv/generator.cc"
#include "third_party/tint/src/writer/spirv/instruction.cc"
#include "third_party/tint/src/writer/spirv/operand.cc"