From 700bebb958e93f4d472c383de62ced9db8e64bec Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 28 Feb 2017 09:10:43 -0800 Subject: i965: Move the back-end compiler to src/intel/compiler Mostly a dummy git mv with a couple of noticable parts: - With the earlier header cleanups, nothing in src/intel depends files from src/mesa/drivers/dri/i965/ - Both Autoconf and Android builds are addressed. Thanks to Mauro and Tapani for the fixups in the latter - brw_util.[ch] is not really compiler specific, so it's moved to i965. v2: - move brw_eu_defines.h instead of brw_defines.h - remove no-longer applicable includes - add missing vulkan/ prefix in the Android build (thanks Tapani) v3: - don't list brw_defines.h in src/intel/Makefile.sources (Jason) - rebase on top of the oa patches [Emil Velikov: commit message, various small fixes througout] Signed-off-by: Emil Velikov Reviewed-by: Jason Ekstrand --- src/intel/Makefile.sources | 89 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) (limited to 'src/intel/Makefile.sources') diff --git a/src/intel/Makefile.sources b/src/intel/Makefile.sources index 240371261e1..72a05aabcb6 100644 --- a/src/intel/Makefile.sources +++ b/src/intel/Makefile.sources @@ -16,6 +16,95 @@ COMMON_FILES = \ common/gen_urb_config.c \ common/gen_sample_positions.h +COMPILER_FILES = \ + compiler/brw_cfg.cpp \ + compiler/brw_cfg.h \ + compiler/brw_compiler.c \ + compiler/brw_compiler.h \ + compiler/brw_dead_control_flow.cpp \ + compiler/brw_dead_control_flow.h \ + compiler/brw_disasm.c \ + compiler/brw_eu.c \ + compiler/brw_eu_compact.c \ + compiler/brw_eu_defines.h \ + compiler/brw_eu_emit.c \ + compiler/brw_eu.h \ + compiler/brw_eu_util.c \ + compiler/brw_eu_validate.c \ + compiler/brw_fs_builder.h \ + compiler/brw_fs_cmod_propagation.cpp \ + compiler/brw_fs_combine_constants.cpp \ + compiler/brw_fs_copy_propagation.cpp \ + compiler/brw_fs.cpp \ + compiler/brw_fs_cse.cpp \ + compiler/brw_fs_dead_code_eliminate.cpp \ + compiler/brw_fs_generator.cpp \ + compiler/brw_fs.h \ + compiler/brw_fs_live_variables.cpp \ + compiler/brw_fs_live_variables.h \ + compiler/brw_fs_lower_d2x.cpp \ + compiler/brw_fs_lower_pack.cpp \ + compiler/brw_fs_nir.cpp \ + compiler/brw_fs_reg_allocate.cpp \ + compiler/brw_fs_register_coalesce.cpp \ + compiler/brw_fs_saturate_propagation.cpp \ + compiler/brw_fs_sel_peephole.cpp \ + compiler/brw_fs_surface_builder.cpp \ + compiler/brw_fs_surface_builder.h \ + compiler/brw_fs_validate.cpp \ + compiler/brw_fs_visitor.cpp \ + compiler/brw_inst.h \ + compiler/brw_interpolation_map.c \ + compiler/brw_ir_allocator.h \ + compiler/brw_ir_fs.h \ + compiler/brw_ir_vec4.h \ + compiler/brw_nir.h \ + compiler/brw_nir.c \ + compiler/brw_nir_analyze_boolean_resolves.c \ + compiler/brw_nir_attribute_workarounds.c \ + compiler/brw_nir_intrinsics.c \ + compiler/brw_nir_opt_peephole_ffma.c \ + compiler/brw_nir_tcs_workarounds.c \ + compiler/brw_packed_float.c \ + compiler/brw_predicated_break.cpp \ + compiler/brw_reg.h \ + compiler/brw_schedule_instructions.cpp \ + compiler/brw_shader.cpp \ + compiler/brw_shader.h \ + compiler/brw_vec4_builder.h \ + compiler/brw_vec4_cmod_propagation.cpp \ + compiler/brw_vec4_copy_propagation.cpp \ + compiler/brw_vec4.cpp \ + compiler/brw_vec4_cse.cpp \ + compiler/brw_vec4_dead_code_eliminate.cpp \ + compiler/brw_vec4_generator.cpp \ + compiler/brw_vec4_gs_visitor.cpp \ + compiler/brw_vec4_gs_visitor.h \ + compiler/brw_vec4.h \ + compiler/brw_vec4_live_variables.cpp \ + compiler/brw_vec4_live_variables.h \ + compiler/brw_vec4_nir.cpp \ + compiler/brw_vec4_gs_nir.cpp \ + compiler/brw_vec4_reg_allocate.cpp \ + compiler/brw_vec4_surface_builder.cpp \ + compiler/brw_vec4_surface_builder.h \ + compiler/brw_vec4_tcs.cpp \ + compiler/brw_vec4_tcs.h \ + compiler/brw_vec4_tes.cpp \ + compiler/brw_vec4_tes.h \ + compiler/brw_vec4_visitor.cpp \ + compiler/brw_vec4_vs_visitor.cpp \ + compiler/brw_vec4_vs.h \ + compiler/brw_vue_map.c \ + compiler/brw_wm_iz.cpp \ + compiler/gen6_gs_visitor.cpp \ + compiler/gen6_gs_visitor.h \ + compiler/intel_asm_annotation.c \ + compiler/intel_asm_annotation.h + +COMPILER_GENERATED_FILES = \ + compiler/brw_nir_trig_workarounds.c + GENXML_GENERATED_FILES = \ genxml/gen4_pack.h \ genxml/gen45_pack.h \ -- cgit v1.2.3