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:
parent
4a9fda49e0
commit
fe17507689
8 changed files with 213 additions and 221 deletions
129
gpu/src/dawn/sources/tint_core_all_src.cc
Normal file
129
gpu/src/dawn/sources/tint_core_all_src.cc
Normal 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"
|
||||
9
gpu/src/dawn/sources/tint_core_all_src_2.cc
Normal file
9
gpu/src/dawn/sources/tint_core_all_src_2.cc
Normal 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"
|
||||
37
gpu/src/dawn/sources/tint_sem_src.cc
Normal file
37
gpu/src/dawn/sources/tint_sem_src.cc
Normal 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"
|
||||
4
gpu/src/dawn/sources/tint_sem_src_2.cc
Normal file
4
gpu/src/dawn/sources/tint_sem_src_2.cc
Normal 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"
|
||||
9
gpu/src/dawn/sources/tint_spv_reader_src.cc
Normal file
9
gpu/src/dawn/sources/tint_spv_reader_src.cc
Normal 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"
|
||||
6
gpu/src/dawn/sources/tint_spv_writer_src.cc
Normal file
6
gpu/src/dawn/sources/tint_spv_writer_src.cc
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue