<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Mar 8, 2017 at 9:16 AM, Emil Velikov <span dir="ltr"><<a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>><br>
<br>
Mostly a dummy git mv with a couple of noticable parts:<br>
- With the earlier header cleanups, nothing in src/intel depends on<br>
files in src/mesa/drivers/dri/i965/ - drop the -I...i965<br>
- Both Autoconf and Android builds are addressed. Thanks to Mauro and<br>
Tapani for the help with the latter<br>
- brw_util.[ch] is not really compiler specific, so it's moved to i965.<br>
- update all src/intel/ targets to use the correct includes.<br>
<br>
[Emil Velikov: commit message, various small fixes througout]<br>
Signed-off-by: Emil Velikov <<a href="mailto:emil.velikov@collabora.com">emil.velikov@collabora.com</a>><br>
---<br>
src/intel/<a href="http://Android.blorp.mk" rel="noreferrer" target="_blank">Android.blorp.mk</a> | 2 +-<br>
.../<a href="http://Android.gen.mk" rel="noreferrer" target="_blank">Android.gen.mk</a> => intel/<a href="http://Android.compiler.mk" rel="noreferrer" target="_blank">Android.compiler.mk</a>} | 41 ++++++--<br>
src/intel/<a href="http://Android.isl.mk" rel="noreferrer" target="_blank">Android.isl.mk</a> | 6 +-<br>
src/intel/Android.mk | 1 +<br>
src/intel/Makefile.am | 7 +-<br>
src/intel/<a href="http://Makefile.compiler.am" rel="noreferrer" target="_blank">Makefile.compiler.am</a> | 116 +++++++++++++++++++++<br>
src/intel/Makefile.sources | 89 ++++++++++++++++<br>
src/intel/blorp/blorp_priv.h | 2 +-<br>
src/intel/compiler/.gitignore | 10 ++<br>
.../dri/i965 => intel/compiler}/brw_cfg.cpp | 0<br>
.../drivers/dri/i965 => intel/compiler}/brw_cfg.h | 0<br>
.../dri/i965 => intel/compiler}/brw_compiler.c | 0<br>
.../dri/i965 => intel/compiler}/brw_compiler.h | 0<br>
.../compiler}/brw_dead_<wbr>control_flow.cpp | 0<br>
.../compiler}/brw_dead_<wbr>control_flow.h | 0<br>
.../dri/i965 => intel/compiler}/brw_defines.h | 0<br></blockquote><div><br></div><div>ugh... I don't really want to put brw_defines.h in the compiler... Half of brw_defines.h is really i965 GL stuff and half of it is compiler stuff. I think what we really want to do is split brw_defines.h into brw_defines.h and brw_eu_defines.h and hope there isn't much overlap.<br><br></div><div>Ken, what do you think?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
.../dri/i965 => intel/compiler}/brw_disasm.c | 0<br>
.../drivers/dri/i965 => intel/compiler}/brw_eu.c | 0<br>
.../drivers/dri/i965 => intel/compiler}/brw_eu.h | 0<br>
.../dri/i965 => intel/compiler}/brw_eu_<wbr>compact.c | 0<br>
.../dri/i965 => intel/compiler}/brw_eu_emit.c | 0<br>
.../dri/i965 => intel/compiler}/brw_eu_util.c | 0<br>
.../dri/i965 => intel/compiler}/brw_eu_<wbr>validate.c | 0<br>
.../drivers/dri/i965 => intel/compiler}/brw_fs.cpp | 0<br>
.../drivers/dri/i965 => intel/compiler}/brw_fs.h | 0<br>
.../dri/i965 => intel/compiler}/brw_fs_<wbr>builder.h | 0<br>
.../compiler}/brw_fs_cmod_<wbr>propagation.cpp | 0<br>
.../compiler}/brw_fs_combine_<wbr>constants.cpp | 0<br>
.../compiler}/brw_fs_copy_<wbr>propagation.cpp | 0<br>
.../dri/i965 => intel/compiler}/brw_fs_cse.cpp | 0<br>
.../compiler}/brw_fs_dead_<wbr>code_eliminate.cpp | 0<br>
.../i965 => intel/compiler}/brw_fs_<wbr>generator.cpp | 0<br>
.../compiler}/brw_fs_live_<wbr>variables.cpp | 0<br>
.../compiler}/brw_fs_live_<wbr>variables.h | 0<br>
.../i965 => intel/compiler}/brw_fs_lower_<wbr>d2x.cpp | 0<br>
.../i965 => intel/compiler}/brw_fs_lower_<wbr>pack.cpp | 0<br>
.../dri/i965 => intel/compiler}/brw_fs_nir.cpp | 0<br>
.../compiler}/brw_fs_reg_<wbr>allocate.cpp | 0<br>
.../compiler}/brw_fs_register_<wbr>coalesce.cpp | 0<br>
.../compiler}/brw_fs_saturate_<wbr>propagation.cpp | 0<br>
.../compiler}/brw_fs_sel_<wbr>peephole.cpp | 0<br>
.../compiler}/brw_fs_surface_<wbr>builder.cpp | 0<br>
.../compiler}/brw_fs_surface_<wbr>builder.h | 0<br>
.../i965 => intel/compiler}/brw_fs_<wbr>validate.cpp | 0<br>
.../dri/i965 => intel/compiler}/brw_fs_<wbr>visitor.cpp | 0<br>
.../drivers/dri/i965 => intel/compiler}/brw_inst.h | 0<br>
.../compiler}/brw_<wbr>interpolation_map.c | 0<br>
.../dri/i965 => intel/compiler}/brw_ir_<wbr>allocator.h | 0<br>
.../dri/i965 => intel/compiler}/brw_ir_fs.h | 0<br>
.../dri/i965 => intel/compiler}/brw_ir_vec4.h | 0<br>
.../drivers/dri/i965 => intel/compiler}/brw_nir.c | 0<br>
.../drivers/dri/i965 => intel/compiler}/brw_nir.h | 0<br>
.../compiler}/brw_nir_analyze_<wbr>boolean_resolves.c | 0<br>
.../compiler}/brw_nir_<wbr>attribute_workarounds.c | 0<br>
.../i965 => intel/compiler}/brw_nir_<wbr>intrinsics.c | 0<br>
.../compiler}/brw_nir_opt_<wbr>peephole_ffma.c | 0<br>
.../compiler}/brw_nir_tcs_<wbr>workarounds.c | 0<br>
.../compiler}/brw_nir_trig_<wbr>workarounds.py | 0<br>
.../dri/i965 => intel/compiler}/brw_packed_<wbr>float.c | 0<br>
.../compiler}/brw_predicated_<wbr>break.cpp | 0<br>
.../drivers/dri/i965 => intel/compiler}/brw_reg.h | 0<br>
.../compiler}/brw_schedule_<wbr>instructions.cpp | 0<br>
.../dri/i965 => intel/compiler}/brw_shader.cpp | 0<br>
.../dri/i965 => intel/compiler}/brw_shader.h | 0<br>
.../dri/i965 => intel/compiler}/brw_vec4.cpp | 0<br>
.../drivers/dri/i965 => intel/compiler}/brw_vec4.h | 0<br>
.../dri/i965 => intel/compiler}/brw_vec4_<wbr>builder.h | 0<br>
.../compiler}/brw_vec4_cmod_<wbr>propagation.cpp | 0<br>
.../compiler}/brw_vec4_copy_<wbr>propagation.cpp | 0<br>
.../dri/i965 => intel/compiler}/brw_vec4_cse.<wbr>cpp | 0<br>
.../compiler}/brw_vec4_dead_<wbr>code_eliminate.cpp | 0<br>
.../i965 => intel/compiler}/brw_vec4_<wbr>generator.cpp | 0<br>
.../i965 => intel/compiler}/brw_vec4_gs_<wbr>nir.cpp | 0<br>
.../compiler}/brw_vec4_gs_<wbr>visitor.cpp | 0<br>
.../i965 => intel/compiler}/brw_vec4_gs_<wbr>visitor.h | 0<br>
.../compiler}/brw_vec4_live_<wbr>variables.cpp | 0<br>
.../compiler}/brw_vec4_live_<wbr>variables.h | 0<br>
.../dri/i965 => intel/compiler}/brw_vec4_nir.<wbr>cpp | 0<br>
.../compiler}/brw_vec4_reg_<wbr>allocate.cpp | 0<br>
.../compiler}/brw_vec4_<wbr>surface_builder.cpp | 0<br>
.../compiler}/brw_vec4_<wbr>surface_builder.h | 0<br>
.../dri/i965 => intel/compiler}/brw_vec4_tcs.<wbr>cpp | 0<br>
.../dri/i965 => intel/compiler}/brw_vec4_tcs.h | 0<br>
.../dri/i965 => intel/compiler}/brw_vec4_tes.<wbr>cpp | 0<br>
.../dri/i965 => intel/compiler}/brw_vec4_tes.h | 0<br>
.../i965 => intel/compiler}/brw_vec4_<wbr>visitor.cpp | 0<br>
.../dri/i965 => intel/compiler}/brw_vec4_vs.h | 0<br>
.../compiler}/brw_vec4_vs_<wbr>visitor.cpp | 0<br>
.../dri/i965 => intel/compiler}/brw_vue_map.c | 0<br>
.../dri/i965 => intel/compiler}/brw_wm_iz.cpp | 0<br>
.../i965 => intel/compiler}/gen6_gs_<wbr>visitor.cpp | 0<br>
.../dri/i965 => intel/compiler}/gen6_gs_<wbr>visitor.h | 0<br>
.../i965 => intel/compiler}/intel_asm_<wbr>annotation.c | 0<br>
.../i965 => intel/compiler}/intel_asm_<wbr>annotation.h | 0<br>
.../dri/i965 => intel/compiler}/test_eu_<wbr>compact.c | 0<br>
.../i965 => intel/compiler}/test_eu_<wbr>validate.cpp | 0<br>
.../compiler}/test_fs_cmod_<wbr>propagation.cpp | 0<br>
.../compiler}/test_fs_copy_<wbr>propagation.cpp | 0<br>
.../compiler}/test_fs_<wbr>saturate_propagation.cpp | 0<br>
.../compiler}/test_vec4_cmod_<wbr>propagation.cpp | 0<br>
.../compiler}/test_vec4_copy_<wbr>propagation.cpp | 0<br>
.../compiler}/test_vec4_<wbr>register_coalesce.cpp | 0<br>
.../compiler}/test_vf_float_<wbr>conversions.cpp | 0<br>
src/intel/tools/Makefile.am | 4 +-<br>
src/intel/tools/disasm.c | 4 +-<br>
src/intel/vulkan/Android.mk | 2 +-<br>
src/intel/vulkan/Makefile.am | 2 +-<br>
src/intel/vulkan/anv_pipeline.<wbr>c | 2 +-<br>
src/intel/vulkan/anv_private.h | 2 +-<br>
src/mesa/drivers/dri/i965/.<wbr>gitignore | 8 --<br>
src/mesa/drivers/dri/i965/<wbr>Android.mk | 30 +-----<br>
src/mesa/drivers/dri/i965/<wbr>Makefile.am | 94 +----------------<br>
src/mesa/drivers/dri/i965/<wbr>Makefile.sources | 93 +----------------<br>
src/mesa/drivers/dri/i965/brw_<wbr>binding_tables.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>blorp.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>cc.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>clear.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>clip.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>clip.h | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>clip_line.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>clip_point.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>clip_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>clip_tri.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>clip_unfilled.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>clip_util.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>compute.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>conditional_render.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>context.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>context.h | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>cs.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>curbe.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>draw.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>draw_upload.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>ff_gs.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>ff_gs.h | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>ff_gs_emit.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>gs.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>gs_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>link.cpp | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>meta_util.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>misc_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>nir_uniforms.cpp | 3 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>performance_query.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>pipe_control.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>primitive_restart.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>program.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>program.h | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>program_cache.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>queryobj.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>sampler_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>sf.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>sf.h | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>sf_emit.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>sf_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>state_dump.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>surface_formats.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>tcs.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>tes.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>urb.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>util.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>vs.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>vs_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>wm.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>wm_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/brw_<wbr>wm_surface_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen6_cc.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen6_clip_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen6_constant_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen6_depth_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen6_depthstencil.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen6_gs_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen6_multisample_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen6_queryobj.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen6_sampler_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen6_scissor_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen6_sf_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen6_sol.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen6_urb.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen6_viewport_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen6_vs_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen6_wm_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen7_cs_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen7_ds_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen7_gs_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen7_hs_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen7_l3_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen7_misc_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen7_sf_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen7_sol_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen7_te_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen7_urb.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen7_viewport_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen7_vs_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen7_wm_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen7_wm_surface_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen8_blend_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen8_depth_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen8_draw_upload.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen8_ds_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen8_gs_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen8_hs_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen8_multisample_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen8_ps_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen8_sf_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen8_sol_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen8_surface_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen8_viewport_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen8_vs_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>gen8_wm_depth_stencil.c | 2 +-<br>
src/mesa/drivers/dri/i965/hsw_<wbr>queryobj.c | 2 +-<br>
src/mesa/drivers/dri/i965/hsw_<wbr>sol.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>intel_batchbuffer.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>intel_blit.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>intel_extensions.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>intel_fbo.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>intel_screen.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>intel_state.c | 2 +-<br>
src/mesa/drivers/dri/i965/<wbr>intel_tex.c | 2 +-<br>
218 files changed, 379 insertions(+), 347 deletions(-)<br>
rename src/{mesa/drivers/dri/i965/<a href="http://Android.gen.mk" rel="noreferrer" target="_blank">And<wbr>roid.gen.mk</a> => intel/<a href="http://Android.compiler.mk" rel="noreferrer" target="_blank">Android.compiler.mk</a>} (58%)<br>
create mode 100644 src/intel/<a href="http://Makefile.compiler.am" rel="noreferrer" target="_blank">Makefile.compiler.am</a><br>
create mode 100644 src/intel/compiler/.gitignore<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_cfg.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_cfg.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_compiler.c (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_compiler.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_dead_<wbr>control_flow.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_dead_<wbr>control_flow.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_defines.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_disasm.c (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_eu.c (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_eu.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_eu_<wbr>compact.c (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_eu_emit.c (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_eu_util.c (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_eu_<wbr>validate.c (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs_<wbr>builder.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs_cmod_<wbr>propagation.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs_<wbr>combine_constants.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs_copy_<wbr>propagation.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs_cse.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs_dead_<wbr>code_eliminate.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs_<wbr>generator.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs_live_<wbr>variables.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs_live_<wbr>variables.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs_lower_<wbr>d2x.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs_lower_<wbr>pack.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs_nir.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs_reg_<wbr>allocate.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs_<wbr>register_coalesce.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs_<wbr>saturate_propagation.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs_sel_<wbr>peephole.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs_<wbr>surface_builder.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs_<wbr>surface_builder.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs_<wbr>validate.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_fs_<wbr>visitor.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_inst.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_<wbr>interpolation_map.c (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_ir_<wbr>allocator.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_ir_fs.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_ir_vec4.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_nir.c (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_nir.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_nir_<wbr>analyze_boolean_resolves.c (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_nir_<wbr>attribute_workarounds.c (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_nir_<wbr>intrinsics.c (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_nir_opt_<wbr>peephole_ffma.c (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_nir_tcs_<wbr>workarounds.c (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_nir_trig_<wbr>workarounds.py (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_packed_<wbr>float.c (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_<wbr>predicated_break.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_reg.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_schedule_<wbr>instructions.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_shader.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_shader.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_<wbr>builder.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_cmod_<wbr>propagation.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_copy_<wbr>propagation.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_cse.<wbr>cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_dead_<wbr>code_eliminate.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_<wbr>generator.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_gs_<wbr>nir.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_gs_<wbr>visitor.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_gs_<wbr>visitor.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_live_<wbr>variables.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_live_<wbr>variables.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_nir.<wbr>cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_reg_<wbr>allocate.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_<wbr>surface_builder.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_<wbr>surface_builder.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_tcs.<wbr>cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_tcs.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_tes.<wbr>cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_tes.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_<wbr>visitor.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_vs.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vec4_vs_<wbr>visitor.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_vue_map.c (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/brw_wm_iz.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/gen6_gs_<wbr>visitor.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/gen6_gs_<wbr>visitor.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/intel_asm_<wbr>annotation.c (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/intel_asm_<wbr>annotation.h (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/test_eu_<wbr>compact.c (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/test_eu_<wbr>validate.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/test_fs_cmod_<wbr>propagation.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/test_fs_copy_<wbr>propagation.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/test_fs_<wbr>saturate_propagation.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/test_vec4_<wbr>cmod_propagation.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/test_vec4_<wbr>copy_propagation.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/test_vec4_<wbr>register_coalesce.cpp (100%)<br>
rename src/{mesa/drivers/dri/i965 => intel/compiler}/test_vf_float_<wbr>conversions.cpp (100%)<br>
<br>
diff --git a/src/intel/<a href="http://Android.blorp.mk" rel="noreferrer" target="_blank">Android.blorp.mk</a> b/src/intel/<a href="http://Android.blorp.mk" rel="noreferrer" target="_blank">Android.blorp.mk</a><br>
index 7e7c8ae9f3..7e9805dca5 100644<br>
--- a/src/intel/<a href="http://Android.blorp.mk" rel="noreferrer" target="_blank">Android.blorp.mk</a><br>
+++ b/src/intel/<a href="http://Android.blorp.mk" rel="noreferrer" target="_blank">Android.blorp.mk</a><br>
@@ -37,7 +37,7 @@ LOCAL_C_INCLUDES := \<br>
$(MESA_TOP)/src/gallium/<wbr>include \<br>
$(MESA_TOP)/src/mapi \<br>
$(MESA_TOP)/src/mesa \<br>
- $(MESA_TOP)/src/mesa/drivers/<wbr>dri/i965<br>
+ $(MESA_TOP)/src/intel/compiler<br>
<br>
LOCAL_STATIC_LIBRARIES := libmesa_nir<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<a href="http://Android.gen.mk" rel="noreferrer" target="_blank">An<wbr>droid.gen.mk</a> b/src/intel/<a href="http://Android.compiler.mk" rel="noreferrer" target="_blank">Android.compiler.<wbr>mk</a><br>
similarity index 58%<br>
rename from src/mesa/drivers/dri/i965/<a href="http://Android.gen.mk" rel="noreferrer" target="_blank">Andr<wbr>oid.gen.mk</a><br>
rename to src/intel/<a href="http://Android.compiler.mk" rel="noreferrer" target="_blank">Android.compiler.mk</a><br>
index c2b8dae339..8bbfb1cbd4 100644<br>
--- a/src/mesa/drivers/dri/i965/<a href="http://Android.gen.mk" rel="noreferrer" target="_blank">An<wbr>droid.gen.mk</a><br>
+++ b/src/intel/<a href="http://Android.compiler.mk" rel="noreferrer" target="_blank">Android.compiler.<wbr>mk</a><br>
@@ -1,4 +1,7 @@<br>
#<br>
+# Copyright (C) 2011 Intel Corporation<br>
+# Copyright (C) 2010-2011 Chia-I Wu <<a href="mailto:olvaffe@gmail.com">olvaffe@gmail.com</a>><br>
+# Copyright (C) 2010-2011 LunarG<br>
# Copyright (C) 2016 Linaro, Ltd., Rob Herring <<a href="mailto:robh@kernel.org">robh@kernel.org</a>><br>
#<br>
# Permission is hereby granted, free of charge, to any person obtaining a<br>
@@ -20,21 +23,47 @@<br>
# DEALINGS IN THE SOFTWARE.<br>
#<br>
<br>
-ifeq ($(LOCAL_MODULE_CLASS),)<br>
-LOCAL_MODULE_CLASS := SHARED_LIBRARIES<br>
-endif<br>
+# ------------------------------<wbr>---------<br>
+# Build libmesa_intel_compiler<br>
+# ------------------------------<wbr>---------<br>
+<br>
+include $(CLEAR_VARS)<br>
+<br>
+LOCAL_MODULE := libmesa_intel_compiler<br>
+LOCAL_MODULE_CLASS := STATIC_LIBRARIES<br>
+<br>
+LOCAL_SRC_FILES := \<br>
+ $(COMPILER_FILES)<br>
+<br>
+LOCAL_C_INCLUDES := \<br>
+ $(MESA_TOP)/src/intel \<br>
+ $(MESA_TOP)/src/mapi \<br>
+ $(MESA_TOP)/src/mesa \<br>
+ $(MESA_TOP)/src/gallium/<wbr>auxiliary \<br>
+ $(MESA_TOP)/src/gallium/<wbr>include \<br>
+ $(call generated-sources-dir-for,<wbr>STATIC_LIBRARIES,libmesa_glsl,<wbr>,)/glsl \<br>
+ $(call generated-sources-dir-for,<wbr>STATIC_LIBRARIES,libmesa_nir,,<wbr>)/nir \<br>
+ $(MESA_TOP)/src/compiler/nir<br>
+<br>
+LOCAL_SHARED_LIBRARIES := \<br>
+ libdrm_intel<br>
<br>
brw_nir_trig_workarounds_deps := \<br>
- $(LOCAL_PATH)/brw_nir_trig_<wbr>workarounds.py \<br>
+ $(LOCAL_PATH)/compiler/brw_<wbr>nir_trig_workarounds.py \<br>
$(MESA_TOP)/src/compiler/nir/<wbr>nir_algebraic.py<br>
<br>
intermediates := $(call local-generated-sources-dir)<br>
<br>
-$(intermediates)/brw_nir_<wbr>trig_workarounds.c: $(brw_nir_trig_workarounds_<wbr>deps)<br>
+$(intermediates)/compiler/<wbr>brw_nir_trig_workarounds.c: $(brw_nir_trig_workarounds_<wbr>deps)<br>
@mkdir -p $(dir $@)<br>
$(hide) PYTHONPATH=$(MESA_TOP)/src/<wbr>compiler/nir $(MESA_PYTHON2) $< > $@<br>
<br>
LOCAL_STATIC_LIBRARIES = libmesa_genxml<br>
<br>
LOCAL_GENERATED_SOURCES += $(addprefix $(intermediates)/, \<br>
- $(i965_compiler_GENERATED_<wbr>FILES))<br>
+ $(COMPILER_GENERATED_FILES))<br>
+<br>
+LOCAL_GENERATED_SOURCES += $(MESA_GEN_GLSL_H)<br>
+<br>
+include $(MESA_COMMON_MK)<br>
+include $(BUILD_STATIC_LIBRARY)<br>
diff --git a/src/intel/<a href="http://Android.isl.mk" rel="noreferrer" target="_blank">Android.isl.mk</a> b/src/intel/<a href="http://Android.isl.mk" rel="noreferrer" target="_blank">Android.isl.mk</a><br>
index 7e578af170..499ca3ccd3 100644<br>
--- a/src/intel/<a href="http://Android.isl.mk" rel="noreferrer" target="_blank">Android.isl.mk</a><br>
+++ b/src/intel/<a href="http://Android.isl.mk" rel="noreferrer" target="_blank">Android.isl.mk</a><br>
@@ -25,8 +25,7 @@<br>
# ------------------------------<wbr>---------<br>
<br>
LIBISL_GENX_COMMON_INCLUDES := \<br>
- $(MESA_TOP)/src/ \<br>
- $(MESA_TOP)/src/mesa/drivers/<wbr>dri/i965<br>
+ $(MESA_TOP)/src/<br>
<br>
# ------------------------------<wbr>---------<br>
# Build libmesa_isl_gen4<br>
@@ -176,7 +175,8 @@ LOCAL_C_INCLUDES := \<br>
$(MESA_TOP)/src/gallium/<wbr>auxiliary \<br>
$(MESA_TOP)/src/mapi \<br>
$(MESA_TOP)/src/mesa \<br>
- $(MESA_TOP)/src/mesa/drivers/<wbr>dri/i965 \<br>
+ $(MESA_TOP)/src/intel/compiler \<br>
+ $(MESA_TOP)/src/mesa/drivers/<wbr>dri/i965<br>
<br>
LOCAL_EXPORT_C_INCLUDE_DIRS := $(MESA_TOP)/src/intel<br>
<br>
diff --git a/src/intel/Android.mk b/src/intel/Android.mk<br>
index 147f5a7273..be2ba2fd9e 100644<br>
--- a/src/intel/Android.mk<br>
+++ b/src/intel/Android.mk<br>
@@ -27,6 +27,7 @@ include $(LOCAL_PATH)/Makefile.sources<br>
<br>
include $(LOCAL_PATH)/<a href="http://Android.blorp.mk" rel="noreferrer" target="_blank">Android.blorp.mk</a><br>
include $(LOCAL_PATH)/<a href="http://Android.common.mk" rel="noreferrer" target="_blank">Android.common.<wbr>mk</a><br>
+include $(LOCAL_PATH)/<a href="http://Android.compiler.mk" rel="noreferrer" target="_blank">Android.<wbr>compiler.mk</a><br>
include $(LOCAL_PATH)/<a href="http://Android.genxml.mk" rel="noreferrer" target="_blank">Android.genxml.<wbr>mk</a><br>
include $(LOCAL_PATH)/<a href="http://Android.isl.mk" rel="noreferrer" target="_blank">Android.isl.mk</a><br>
include $(LOCAL_PATH)/vulkan/Android.<wbr>mk<br>
diff --git a/src/intel/Makefile.am b/src/intel/Makefile.am<br>
index 9186b5cf1b..b7ce65543c 100644<br>
--- a/src/intel/Makefile.am<br>
+++ b/src/intel/Makefile.am<br>
@@ -26,12 +26,16 @@ AM_CPPFLAGS = \<br>
-I$(top_srcdir)/include \<br>
-I$(top_builddir)/src \<br>
-I$(top_srcdir)/src \<br>
+ -I$(top_builddir)/src/<wbr>compiler/glsl \<br>
+ -I$(top_srcdir)/src/compiler/<wbr>glsl \<br>
-I$(top_builddir)/src/<wbr>compiler/nir \<br>
+ -I$(top_srcdir)/src/compiler/<wbr>nir \<br>
+ -I$(top_srcdir)/src/gtest/<wbr>include \<br>
-I$(top_builddir)/src/intel \<br>
-I$(top_srcdir)/src/intel \<br>
+ -I$(top_srcdir)/src/intel/<wbr>compiler \<br>
-I$(top_srcdir)/src/mapi \<br>
-I$(top_srcdir)/src/mesa \<br>
- -I$(top_srcdir)/src/mesa/<wbr>drivers/dri/i965 \<br>
-I$(top_srcdir)/src/gallium/<wbr>auxiliary \<br>
-I$(top_srcdir)/src/gallium/<wbr>include \<br>
$(INTEL_CFLAGS) \<br>
@@ -54,6 +58,7 @@ EXTRA_DIST =<br>
<br>
include <a href="http://Makefile.blorp.am" rel="noreferrer" target="_blank">Makefile.blorp.am</a><br>
include <a href="http://Makefile.common.am" rel="noreferrer" target="_blank">Makefile.common.am</a><br>
+include <a href="http://Makefile.compiler.am" rel="noreferrer" target="_blank">Makefile.compiler.am</a><br>
include <a href="http://Makefile.genxml.am" rel="noreferrer" target="_blank">Makefile.genxml.am</a><br>
include <a href="http://Makefile.isl.am" rel="noreferrer" target="_blank">Makefile.isl.am</a><br>
<br>
diff --git a/src/intel/<a href="http://Makefile.compiler.am" rel="noreferrer" target="_blank">Makefile.compiler.<wbr>am</a> b/src/intel/<a href="http://Makefile.compiler.am" rel="noreferrer" target="_blank">Makefile.compiler.<wbr>am</a><br>
new file mode 100644<br>
index 0000000000..c5e5b11ffc<br>
--- /dev/null<br>
+++ b/src/intel/<a href="http://Makefile.compiler.am" rel="noreferrer" target="_blank">Makefile.compiler.<wbr>am</a><br>
@@ -0,0 +1,116 @@<br>
+# Copyright 2015-2016 Intel Corporation<br>
+#<br>
+# Permission is hereby granted, free of charge, to any person obtaining a<br>
+# copy of this software and associated documentation files (the "Software"),<br>
+# to deal in the Software without restriction, including without limitation<br>
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,<br>
+# and/or sell copies of the Software, and to permit persons to whom the<br>
+# Software is furnished to do so, subject to the following conditions:<br>
+#<br>
+# The above copyright notice and this permission notice (including the next<br>
+# paragraph) shall be included in all copies or substantial portions of the<br>
+# Software.<br>
+#<br>
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR<br>
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,<br>
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL<br>
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER<br>
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING<br>
+# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS<br>
+# IN THE SOFTWARE.<br>
+<br>
+noinst_LTLIBRARIES += compiler/<a href="http://libintel_compiler.la" rel="noreferrer" target="_blank">libintel_compiler.la</a><br>
+<br>
+compiler_libintel_compiler_<wbr>la_SOURCES = \<br>
+ $(COMPILER_FILES) \<br>
+ $(COMPILER_GENERATED_FILES)<br>
+<br>
+BUILT_SOURCES += $(COMPILER_GENERATED_FILES)<br>
+<br>
+compiler/brw_nir_trig_<wbr>workarounds.c: compiler/brw_nir_trig_<wbr>workarounds.py \<br>
+ $(top_srcdir)/src/compiler/<wbr>nir/nir_algebraic.py<br>
+ $(MKDIR_GEN)<br>
+ $(AM_V_GEN) PYTHONPATH=$(top_srcdir)/src/<wbr>compiler/nir $(PYTHON2) $(PYTHON_FLAGS) $(srcdir)/compiler/brw_nir_<wbr>trig_workarounds.py > $@ || ($(RM) $@; false)<br>
+<br>
+EXTRA_DIST += \<br>
+ compiler/brw_nir_trig_<wbr>workarounds.py<br>
+<br>
+# ------------------------------<wbr>------------------------------<wbr>----------------<br>
+# Tests<br>
+# ------------------------------<wbr>------------------------------<wbr>----------------<br>
+<br>
+TEST_LIBS = \<br>
+ compiler/<a href="http://libintel_compiler.la" rel="noreferrer" target="_blank">libintel_compiler.la</a> \<br>
+ common/<a href="http://libintel_common.la" rel="noreferrer" target="_blank">libintel_common.la</a> \<br>
+ $(top_builddir)/src/compiler/<wbr>nir/<a href="http://libnir.la" rel="noreferrer" target="_blank">libnir.la</a> \<br>
+ $(top_builddir)/src/util/<a href="http://libmesautil.la" rel="noreferrer" target="_blank">libme<wbr>sautil.la</a> \<br>
+ $(top_builddir)/src/intel/isl/<a href="http://libisl.la" rel="noreferrer" target="_blank"><wbr>libisl.la</a> \<br>
+ $(PTHREAD_LIBS) \<br>
+ $(DLOPEN_LIBS)<br>
+<br>
+COMPILER_TESTS = \<br>
+ compiler/test_fs_cmod_<wbr>propagation \<br>
+ compiler/test_fs_copy_<wbr>propagation \<br>
+ compiler/test_fs_saturate_<wbr>propagation \<br>
+ compiler/test_eu_compact \<br>
+ compiler/test_eu_validate \<br>
+ compiler/test_vf_float_<wbr>conversions \<br>
+ compiler/test_vec4_cmod_<wbr>propagation \<br>
+ compiler/test_vec4_copy_<wbr>propagation \<br>
+ compiler/test_vec4_register_<wbr>coalesce<br>
+<br>
+TESTS += $(COMPILER_TESTS)<br>
+check_PROGRAMS += $(COMPILER_TESTS)<br>
+<br>
+compiler_test_fs_cmod_<wbr>propagation_SOURCES = \<br>
+ compiler/test_fs_cmod_<wbr>propagation.cpp<br>
+compiler_test_fs_cmod_<wbr>propagation_LDADD = \<br>
+ $(top_builddir)/src/gtest/<a href="http://libgtest.la" rel="noreferrer" target="_blank">libg<wbr>test.la</a> \<br>
+ $(TEST_LIBS)<br>
+<br>
+compiler_test_fs_copy_<wbr>propagation_SOURCES = \<br>
+ compiler/test_fs_copy_<wbr>propagation.cpp<br>
+compiler_test_fs_copy_<wbr>propagation_LDADD = \<br>
+ $(top_builddir)/src/gtest/<a href="http://libgtest.la" rel="noreferrer" target="_blank">libg<wbr>test.la</a> \<br>
+ $(TEST_LIBS)<br>
+<br>
+compiler_test_fs_saturate_<wbr>propagation_SOURCES = \<br>
+ compiler/test_fs_saturate_<wbr>propagation.cpp<br>
+compiler_test_fs_saturate_<wbr>propagation_LDADD = \<br>
+ $(top_builddir)/src/gtest/<a href="http://libgtest.la" rel="noreferrer" target="_blank">libg<wbr>test.la</a> \<br>
+ $(TEST_LIBS)<br>
+<br>
+compiler_test_vf_float_<wbr>conversions_SOURCES = \<br>
+ compiler/test_vf_float_<wbr>conversions.cpp<br>
+compiler_test_vf_float_<wbr>conversions_LDADD = \<br>
+ $(top_builddir)/src/gtest/<a href="http://libgtest.la" rel="noreferrer" target="_blank">libg<wbr>test.la</a> \<br>
+ $(TEST_LIBS)<br>
+<br>
+compiler_test_vec4_register_<wbr>coalesce_SOURCES = \<br>
+ compiler/test_vec4_register_<wbr>coalesce.cpp<br>
+compiler_test_vec4_register_<wbr>coalesce_LDADD = \<br>
+ $(top_builddir)/src/gtest/<a href="http://libgtest.la" rel="noreferrer" target="_blank">libg<wbr>test.la</a> \<br>
+ $(TEST_LIBS)<br>
+<br>
+compiler_test_vec4_copy_<wbr>propagation_SOURCES = \<br>
+ compiler/test_vec4_copy_<wbr>propagation.cpp<br>
+compiler_test_vec4_copy_<wbr>propagation_LDADD = \<br>
+ $(top_builddir)/src/gtest/<a href="http://libgtest.la" rel="noreferrer" target="_blank">libg<wbr>test.la</a> \<br>
+ $(TEST_LIBS)<br>
+<br>
+compiler_test_vec4_cmod_<wbr>propagation_SOURCES = \<br>
+ compiler/test_vec4_cmod_<wbr>propagation.cpp<br>
+compiler_test_vec4_cmod_<wbr>propagation_LDADD = \<br>
+ $(top_builddir)/src/gtest/<a href="http://libgtest.la" rel="noreferrer" target="_blank">libg<wbr>test.la</a> \<br>
+ $(TEST_LIBS)<br>
+<br>
+compiler_test_eu_compact_<wbr>SOURCES = \<br>
+ compiler/test_eu_compact.c<br>
+nodist_EXTRA_compiler_test_<wbr>eu_compact_SOURCES = dummy.cpp<br>
+compiler_test_eu_compact_<wbr>LDADD = $(TEST_LIBS)<br>
+<br>
+compiler_test_eu_validate_<wbr>SOURCES = \<br>
+ compiler/test_eu_validate.cpp<br>
+compiler_test_eu_validate_<wbr>LDADD = \<br>
+ $(top_builddir)/src/gtest/<a href="http://libgtest.la" rel="noreferrer" target="_blank">libg<wbr>test.la</a> \<br>
+ $(TEST_LIBS)<br>
diff --git a/src/intel/Makefile.sources b/src/intel/Makefile.sources<br>
index 240371261e..2ab36838b0 100644<br>
--- a/src/intel/Makefile.sources<br>
+++ b/src/intel/Makefile.sources<br>
@@ -16,6 +16,95 @@ COMMON_FILES = \<br>
common/gen_urb_config.c \<br>
common/gen_sample_positions.h<br>
<br>
+COMPILER_FILES = \<br>
+ compiler/brw_cfg.cpp \<br>
+ compiler/brw_cfg.h \<br>
+ compiler/brw_compiler.c \<br>
+ compiler/brw_compiler.h \<br>
+ compiler/brw_dead_control_<wbr>flow.cpp \<br>
+ compiler/brw_dead_control_<wbr>flow.h \<br>
+ compiler/brw_defines.h \<br>
+ compiler/brw_disasm.c \<br>
+ compiler/brw_eu.c \<br>
+ compiler/brw_eu_compact.c \<br>
+ compiler/brw_eu_emit.c \<br>
+ compiler/brw_eu.h \<br>
+ compiler/brw_eu_util.c \<br>
+ compiler/brw_eu_validate.c \<br>
+ compiler/brw_fs_builder.h \<br>
+ compiler/brw_fs_cmod_<wbr>propagation.cpp \<br>
+ compiler/brw_fs_combine_<wbr>constants.cpp \<br>
+ compiler/brw_fs_copy_<wbr>propagation.cpp \<br>
+ compiler/brw_fs.cpp \<br>
+ compiler/brw_fs_cse.cpp \<br>
+ compiler/brw_fs_dead_code_<wbr>eliminate.cpp \<br>
+ compiler/brw_fs_generator.cpp \<br>
+ compiler/brw_fs.h \<br>
+ compiler/brw_fs_live_<wbr>variables.cpp \<br>
+ compiler/brw_fs_live_<wbr>variables.h \<br>
+ compiler/brw_fs_lower_d2x.cpp \<br>
+ compiler/brw_fs_lower_pack.cpp \<br>
+ compiler/brw_fs_nir.cpp \<br>
+ compiler/brw_fs_reg_allocate.<wbr>cpp \<br>
+ compiler/brw_fs_register_<wbr>coalesce.cpp \<br>
+ compiler/brw_fs_saturate_<wbr>propagation.cpp \<br>
+ compiler/brw_fs_sel_peephole.<wbr>cpp \<br>
+ compiler/brw_fs_surface_<wbr>builder.cpp \<br>
+ compiler/brw_fs_surface_<wbr>builder.h \<br>
+ compiler/brw_fs_validate.cpp \<br>
+ compiler/brw_fs_visitor.cpp \<br>
+ compiler/brw_inst.h \<br>
+ compiler/brw_interpolation_<wbr>map.c \<br>
+ compiler/brw_ir_allocator.h \<br>
+ compiler/brw_ir_fs.h \<br>
+ compiler/brw_ir_vec4.h \<br>
+ compiler/brw_nir.h \<br>
+ compiler/brw_nir.c \<br>
+ compiler/brw_nir_analyze_<wbr>boolean_resolves.c \<br>
+ compiler/brw_nir_attribute_<wbr>workarounds.c \<br>
+ compiler/brw_nir_intrinsics.c \<br>
+ compiler/brw_nir_opt_peephole_<wbr>ffma.c \<br>
+ compiler/brw_nir_tcs_<wbr>workarounds.c \<br>
+ compiler/brw_packed_float.c \<br>
+ compiler/brw_predicated_break.<wbr>cpp \<br>
+ compiler/brw_reg.h \<br>
+ compiler/brw_schedule_<wbr>instructions.cpp \<br>
+ compiler/brw_shader.cpp \<br>
+ compiler/brw_shader.h \<br>
+ compiler/brw_vec4_builder.h \<br>
+ compiler/brw_vec4_cmod_<wbr>propagation.cpp \<br>
+ compiler/brw_vec4_copy_<wbr>propagation.cpp \<br>
+ compiler/brw_vec4.cpp \<br>
+ compiler/brw_vec4_cse.cpp \<br>
+ compiler/brw_vec4_dead_code_<wbr>eliminate.cpp \<br>
+ compiler/brw_vec4_generator.<wbr>cpp \<br>
+ compiler/brw_vec4_gs_visitor.<wbr>cpp \<br>
+ compiler/brw_vec4_gs_visitor.h \<br>
+ compiler/brw_vec4.h \<br>
+ compiler/brw_vec4_live_<wbr>variables.cpp \<br>
+ compiler/brw_vec4_live_<wbr>variables.h \<br>
+ compiler/brw_vec4_nir.cpp \<br>
+ compiler/brw_vec4_gs_nir.cpp \<br>
+ compiler/brw_vec4_reg_<wbr>allocate.cpp \<br>
+ compiler/brw_vec4_surface_<wbr>builder.cpp \<br>
+ compiler/brw_vec4_surface_<wbr>builder.h \<br>
+ compiler/brw_vec4_tcs.cpp \<br>
+ compiler/brw_vec4_tcs.h \<br>
+ compiler/brw_vec4_tes.cpp \<br>
+ compiler/brw_vec4_tes.h \<br>
+ compiler/brw_vec4_visitor.cpp \<br>
+ compiler/brw_vec4_vs_visitor.<wbr>cpp \<br>
+ compiler/brw_vec4_vs.h \<br>
+ compiler/brw_vue_map.c \<br>
+ compiler/brw_wm_iz.cpp \<br>
+ compiler/gen6_gs_visitor.cpp \<br>
+ compiler/gen6_gs_visitor.h \<br>
+ compiler/intel_asm_annotation.<wbr>c \<br>
+ compiler/intel_asm_annotation.<wbr>h<br>
+<br>
+COMPILER_GENERATED_FILES = \<br>
+ compiler/brw_nir_trig_<wbr>workarounds.c<br>
+<br>
GENXML_GENERATED_FILES = \<br>
genxml/gen4_pack.h \<br>
genxml/gen45_pack.h \<br>
diff --git a/src/intel/blorp/blorp_priv.h b/src/intel/blorp/blorp_priv.h<br>
index d9c03b1c07..c61ab08746 100644<br>
--- a/src/intel/blorp/blorp_priv.h<br>
+++ b/src/intel/blorp/blorp_priv.h<br>
@@ -27,7 +27,7 @@<br>
#include <stdint.h><br>
<br>
#include "compiler/nir/nir.h"<br>
-#include "brw_compiler.h"<br>
+#include "compiler/brw_compiler.h"<br>
<br>
#include "blorp.h"<br>
<br>
diff --git a/src/intel/compiler/.<wbr>gitignore b/src/intel/compiler/.<wbr>gitignore<br>
new file mode 100644<br>
index 0000000000..e844421b33<br>
--- /dev/null<br>
+++ b/src/intel/compiler/.<wbr>gitignore<br>
@@ -0,0 +1,10 @@<br>
+brw_nir_trig_workarounds.c<br>
+test_eu_compact<br>
+test_eu_validate<br>
+test_fs_cmod_propagation<br>
+test_fs_copy_propagation<br>
+test_fs_saturate_propagation<br>
+test_vec4_cmod_propagation<br>
+test_vec4_copy_propagation<br>
+test_vec4_register_coalesce<br>
+test_vf_float_conversions<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_cfg.cpp b/src/intel/compiler/brw_cfg.<wbr>cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>cfg.cpp<br>
rename to src/intel/compiler/brw_cfg.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_cfg.h b/src/intel/compiler/brw_cfg.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>cfg.h<br>
rename to src/intel/compiler/brw_cfg.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_compiler.c b/src/intel/compiler/brw_<wbr>compiler.c<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>compiler.c<br>
rename to src/intel/compiler/brw_<wbr>compiler.c<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_compiler.h b/src/intel/compiler/brw_<wbr>compiler.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>compiler.h<br>
rename to src/intel/compiler/brw_<wbr>compiler.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_dead_control_flow.cpp b/src/intel/compiler/brw_dead_<wbr>control_flow.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>dead_control_flow.cpp<br>
rename to src/intel/compiler/brw_dead_<wbr>control_flow.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_dead_control_flow.h b/src/intel/compiler/brw_dead_<wbr>control_flow.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>dead_control_flow.h<br>
rename to src/intel/compiler/brw_dead_<wbr>control_flow.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_defines.h b/src/intel/compiler/brw_<wbr>defines.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>defines.h<br>
rename to src/intel/compiler/brw_<wbr>defines.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_disasm.c b/src/intel/compiler/brw_<wbr>disasm.c<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>disasm.c<br>
rename to src/intel/compiler/brw_disasm.<wbr>c<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_eu.c b/src/intel/compiler/brw_eu.c<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>eu.c<br>
rename to src/intel/compiler/brw_eu.c<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_eu.h b/src/intel/compiler/brw_eu.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>eu.h<br>
rename to src/intel/compiler/brw_eu.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_eu_compact.c b/src/intel/compiler/brw_eu_<wbr>compact.c<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>eu_compact.c<br>
rename to src/intel/compiler/brw_eu_<wbr>compact.c<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_eu_emit.c b/src/intel/compiler/brw_eu_<wbr>emit.c<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>eu_emit.c<br>
rename to src/intel/compiler/brw_eu_<wbr>emit.c<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_eu_util.c b/src/intel/compiler/brw_eu_<wbr>util.c<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>eu_util.c<br>
rename to src/intel/compiler/brw_eu_<wbr>util.c<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_eu_validate.c b/src/intel/compiler/brw_eu_<wbr>validate.c<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>eu_validate.c<br>
rename to src/intel/compiler/brw_eu_<wbr>validate.c<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs.cpp b/src/intel/compiler/brw_fs.<wbr>cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs.cpp<br>
rename to src/intel/compiler/brw_fs.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs.h b/src/intel/compiler/brw_fs.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs.h<br>
rename to src/intel/compiler/brw_fs.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_builder.h b/src/intel/compiler/brw_fs_<wbr>builder.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs_builder.h<br>
rename to src/intel/compiler/brw_fs_<wbr>builder.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_cmod_propagation.cpp b/src/intel/compiler/brw_fs_<wbr>cmod_propagation.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs_cmod_propagation.cpp<br>
rename to src/intel/compiler/brw_fs_<wbr>cmod_propagation.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_combine_constants.cpp b/src/intel/compiler/brw_fs_<wbr>combine_constants.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs_combine_constants.cpp<br>
rename to src/intel/compiler/brw_fs_<wbr>combine_constants.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_copy_propagation.cpp b/src/intel/compiler/brw_fs_<wbr>copy_propagation.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs_copy_propagation.cpp<br>
rename to src/intel/compiler/brw_fs_<wbr>copy_propagation.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_cse.cpp b/src/intel/compiler/brw_fs_<wbr>cse.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs_cse.cpp<br>
rename to src/intel/compiler/brw_fs_cse.<wbr>cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_dead_code_eliminate.cpp b/src/intel/compiler/brw_fs_<wbr>dead_code_eliminate.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs_dead_code_eliminate.cpp<br>
rename to src/intel/compiler/brw_fs_<wbr>dead_code_eliminate.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_generator.cpp b/src/intel/compiler/brw_fs_<wbr>generator.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs_generator.cpp<br>
rename to src/intel/compiler/brw_fs_<wbr>generator.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_live_variables.cpp b/src/intel/compiler/brw_fs_<wbr>live_variables.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs_live_variables.cpp<br>
rename to src/intel/compiler/brw_fs_<wbr>live_variables.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_live_variables.h b/src/intel/compiler/brw_fs_<wbr>live_variables.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs_live_variables.h<br>
rename to src/intel/compiler/brw_fs_<wbr>live_variables.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_lower_d2x.cpp b/src/intel/compiler/brw_fs_<wbr>lower_d2x.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs_lower_d2x.cpp<br>
rename to src/intel/compiler/brw_fs_<wbr>lower_d2x.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_lower_pack.cpp b/src/intel/compiler/brw_fs_<wbr>lower_pack.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs_lower_pack.cpp<br>
rename to src/intel/compiler/brw_fs_<wbr>lower_pack.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_nir.cpp b/src/intel/compiler/brw_fs_<wbr>nir.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs_nir.cpp<br>
rename to src/intel/compiler/brw_fs_nir.<wbr>cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_reg_allocate.cpp b/src/intel/compiler/brw_fs_<wbr>reg_allocate.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs_reg_allocate.cpp<br>
rename to src/intel/compiler/brw_fs_reg_<wbr>allocate.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_register_coalesce.cpp b/src/intel/compiler/brw_fs_<wbr>register_coalesce.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs_register_coalesce.cpp<br>
rename to src/intel/compiler/brw_fs_<wbr>register_coalesce.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_saturate_propagation.<wbr>cpp b/src/intel/compiler/brw_fs_<wbr>saturate_propagation.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs_saturate_propagation.cpp<br>
rename to src/intel/compiler/brw_fs_<wbr>saturate_propagation.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_sel_peephole.cpp b/src/intel/compiler/brw_fs_<wbr>sel_peephole.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs_sel_peephole.cpp<br>
rename to src/intel/compiler/brw_fs_sel_<wbr>peephole.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_surface_builder.cpp b/src/intel/compiler/brw_fs_<wbr>surface_builder.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs_surface_builder.cpp<br>
rename to src/intel/compiler/brw_fs_<wbr>surface_builder.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_surface_builder.h b/src/intel/compiler/brw_fs_<wbr>surface_builder.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs_surface_builder.h<br>
rename to src/intel/compiler/brw_fs_<wbr>surface_builder.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_validate.cpp b/src/intel/compiler/brw_fs_<wbr>validate.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs_validate.cpp<br>
rename to src/intel/compiler/brw_fs_<wbr>validate.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_fs_visitor.cpp b/src/intel/compiler/brw_fs_<wbr>visitor.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>fs_visitor.cpp<br>
rename to src/intel/compiler/brw_fs_<wbr>visitor.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_inst.h b/src/intel/compiler/brw_inst.<wbr>h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>inst.h<br>
rename to src/intel/compiler/brw_inst.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_interpolation_map.c b/src/intel/compiler/brw_<wbr>interpolation_map.c<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>interpolation_map.c<br>
rename to src/intel/compiler/brw_<wbr>interpolation_map.c<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_ir_allocator.h b/src/intel/compiler/brw_ir_<wbr>allocator.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>ir_allocator.h<br>
rename to src/intel/compiler/brw_ir_<wbr>allocator.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_ir_fs.h b/src/intel/compiler/brw_ir_<wbr>fs.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>ir_fs.h<br>
rename to src/intel/compiler/brw_ir_fs.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_ir_vec4.h b/src/intel/compiler/brw_ir_<wbr>vec4.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>ir_vec4.h<br>
rename to src/intel/compiler/brw_ir_<wbr>vec4.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_nir.c b/src/intel/compiler/brw_nir.c<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>nir.c<br>
rename to src/intel/compiler/brw_nir.c<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_nir.h b/src/intel/compiler/brw_nir.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>nir.h<br>
rename to src/intel/compiler/brw_nir.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_nir_analyze_boolean_<wbr>resolves.c b/src/intel/compiler/brw_nir_<wbr>analyze_boolean_resolves.c<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>nir_analyze_boolean_resolves.c<br>
rename to src/intel/compiler/brw_nir_<wbr>analyze_boolean_resolves.c<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_nir_attribute_workarounds.<wbr>c b/src/intel/compiler/brw_nir_<wbr>attribute_workarounds.c<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>nir_attribute_workarounds.c<br>
rename to src/intel/compiler/brw_nir_<wbr>attribute_workarounds.c<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_nir_intrinsics.c b/src/intel/compiler/brw_nir_<wbr>intrinsics.c<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>nir_intrinsics.c<br>
rename to src/intel/compiler/brw_nir_<wbr>intrinsics.c<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_nir_opt_peephole_ffma.c b/src/intel/compiler/brw_nir_<wbr>opt_peephole_ffma.c<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>nir_opt_peephole_ffma.c<br>
rename to src/intel/compiler/brw_nir_<wbr>opt_peephole_ffma.c<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_nir_tcs_workarounds.c b/src/intel/compiler/brw_nir_<wbr>tcs_workarounds.c<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>nir_tcs_workarounds.c<br>
rename to src/intel/compiler/brw_nir_<wbr>tcs_workarounds.c<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_nir_trig_workarounds.py b/src/intel/compiler/brw_nir_<wbr>trig_workarounds.py<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>nir_trig_workarounds.py<br>
rename to src/intel/compiler/brw_nir_<wbr>trig_workarounds.py<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_packed_float.c b/src/intel/compiler/brw_<wbr>packed_float.c<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>packed_float.c<br>
rename to src/intel/compiler/brw_packed_<wbr>float.c<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_predicated_break.cpp b/src/intel/compiler/brw_<wbr>predicated_break.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>predicated_break.cpp<br>
rename to src/intel/compiler/brw_<wbr>predicated_break.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_reg.h b/src/intel/compiler/brw_reg.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>reg.h<br>
rename to src/intel/compiler/brw_reg.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_schedule_instructions.cpp b/src/intel/compiler/brw_<wbr>schedule_instructions.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>schedule_instructions.cpp<br>
rename to src/intel/compiler/brw_<wbr>schedule_instructions.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_shader.cpp b/src/intel/compiler/brw_<wbr>shader.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>shader.cpp<br>
rename to src/intel/compiler/brw_shader.<wbr>cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_shader.h b/src/intel/compiler/brw_<wbr>shader.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>shader.h<br>
rename to src/intel/compiler/brw_shader.<wbr>h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4.cpp b/src/intel/compiler/brw_vec4.<wbr>cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4.cpp<br>
rename to src/intel/compiler/brw_vec4.<wbr>cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4.h b/src/intel/compiler/brw_vec4.<wbr>h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4.h<br>
rename to src/intel/compiler/brw_vec4.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_builder.h b/src/intel/compiler/brw_vec4_<wbr>builder.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_builder.h<br>
rename to src/intel/compiler/brw_vec4_<wbr>builder.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_cmod_propagation.cpp b/src/intel/compiler/brw_vec4_<wbr>cmod_propagation.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_cmod_propagation.cpp<br>
rename to src/intel/compiler/brw_vec4_<wbr>cmod_propagation.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_copy_propagation.cpp b/src/intel/compiler/brw_vec4_<wbr>copy_propagation.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_copy_propagation.cpp<br>
rename to src/intel/compiler/brw_vec4_<wbr>copy_propagation.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_cse.cpp b/src/intel/compiler/brw_vec4_<wbr>cse.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_cse.cpp<br>
rename to src/intel/compiler/brw_vec4_<wbr>cse.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_dead_code_eliminate.<wbr>cpp b/src/intel/compiler/brw_vec4_<wbr>dead_code_eliminate.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_dead_code_eliminate.cpp<br>
rename to src/intel/compiler/brw_vec4_<wbr>dead_code_eliminate.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_generator.cpp b/src/intel/compiler/brw_vec4_<wbr>generator.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_generator.cpp<br>
rename to src/intel/compiler/brw_vec4_<wbr>generator.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_gs_nir.cpp b/src/intel/compiler/brw_vec4_<wbr>gs_nir.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_gs_nir.cpp<br>
rename to src/intel/compiler/brw_vec4_<wbr>gs_nir.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_gs_visitor.cpp b/src/intel/compiler/brw_vec4_<wbr>gs_visitor.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_gs_visitor.cpp<br>
rename to src/intel/compiler/brw_vec4_<wbr>gs_visitor.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_gs_visitor.h b/src/intel/compiler/brw_vec4_<wbr>gs_visitor.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_gs_visitor.h<br>
rename to src/intel/compiler/brw_vec4_<wbr>gs_visitor.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_live_variables.cpp b/src/intel/compiler/brw_vec4_<wbr>live_variables.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_live_variables.cpp<br>
rename to src/intel/compiler/brw_vec4_<wbr>live_variables.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_live_variables.h b/src/intel/compiler/brw_vec4_<wbr>live_variables.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_live_variables.h<br>
rename to src/intel/compiler/brw_vec4_<wbr>live_variables.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_nir.cpp b/src/intel/compiler/brw_vec4_<wbr>nir.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_nir.cpp<br>
rename to src/intel/compiler/brw_vec4_<wbr>nir.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_reg_allocate.cpp b/src/intel/compiler/brw_vec4_<wbr>reg_allocate.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_reg_allocate.cpp<br>
rename to src/intel/compiler/brw_vec4_<wbr>reg_allocate.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_surface_builder.cpp b/src/intel/compiler/brw_vec4_<wbr>surface_builder.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_surface_builder.cpp<br>
rename to src/intel/compiler/brw_vec4_<wbr>surface_builder.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_surface_builder.h b/src/intel/compiler/brw_vec4_<wbr>surface_builder.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_surface_builder.h<br>
rename to src/intel/compiler/brw_vec4_<wbr>surface_builder.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_tcs.cpp b/src/intel/compiler/brw_vec4_<wbr>tcs.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_tcs.cpp<br>
rename to src/intel/compiler/brw_vec4_<wbr>tcs.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_tcs.h b/src/intel/compiler/brw_vec4_<wbr>tcs.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_tcs.h<br>
rename to src/intel/compiler/brw_vec4_<wbr>tcs.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_tes.cpp b/src/intel/compiler/brw_vec4_<wbr>tes.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_tes.cpp<br>
rename to src/intel/compiler/brw_vec4_<wbr>tes.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_tes.h b/src/intel/compiler/brw_vec4_<wbr>tes.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_tes.h<br>
rename to src/intel/compiler/brw_vec4_<wbr>tes.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_visitor.cpp b/src/intel/compiler/brw_vec4_<wbr>visitor.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_visitor.cpp<br>
rename to src/intel/compiler/brw_vec4_<wbr>visitor.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_vs.h b/src/intel/compiler/brw_vec4_<wbr>vs.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_vs.h<br>
rename to src/intel/compiler/brw_vec4_<wbr>vs.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vec4_vs_visitor.cpp b/src/intel/compiler/brw_vec4_<wbr>vs_visitor.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vec4_vs_visitor.cpp<br>
rename to src/intel/compiler/brw_vec4_<wbr>vs_visitor.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vue_map.c b/src/intel/compiler/brw_vue_<wbr>map.c<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>vue_map.c<br>
rename to src/intel/compiler/brw_vue_<wbr>map.c<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_wm_iz.cpp b/src/intel/compiler/brw_wm_<wbr>iz.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/brw_<wbr>wm_iz.cpp<br>
rename to src/intel/compiler/brw_wm_iz.<wbr>cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen6_gs_visitor.cpp b/src/intel/compiler/gen6_gs_<wbr>visitor.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/<wbr>gen6_gs_visitor.cpp<br>
rename to src/intel/compiler/gen6_gs_<wbr>visitor.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen6_gs_visitor.h b/src/intel/compiler/gen6_gs_<wbr>visitor.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/<wbr>gen6_gs_visitor.h<br>
rename to src/intel/compiler/gen6_gs_<wbr>visitor.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>intel_asm_annotation.c b/src/intel/compiler/intel_<wbr>asm_annotation.c<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/<wbr>intel_asm_annotation.c<br>
rename to src/intel/compiler/intel_asm_<wbr>annotation.c<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>intel_asm_annotation.h b/src/intel/compiler/intel_<wbr>asm_annotation.h<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/<wbr>intel_asm_annotation.h<br>
rename to src/intel/compiler/intel_asm_<wbr>annotation.h<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>test_eu_compact.c b/src/intel/compiler/test_eu_<wbr>compact.c<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/<wbr>test_eu_compact.c<br>
rename to src/intel/compiler/test_eu_<wbr>compact.c<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>test_eu_validate.cpp b/src/intel/compiler/test_eu_<wbr>validate.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/<wbr>test_eu_validate.cpp<br>
rename to src/intel/compiler/test_eu_<wbr>validate.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>test_fs_cmod_propagation.cpp b/src/intel/compiler/test_fs_<wbr>cmod_propagation.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/<wbr>test_fs_cmod_propagation.cpp<br>
rename to src/intel/compiler/test_fs_<wbr>cmod_propagation.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>test_fs_copy_propagation.cpp b/src/intel/compiler/test_fs_<wbr>copy_propagation.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/<wbr>test_fs_copy_propagation.cpp<br>
rename to src/intel/compiler/test_fs_<wbr>copy_propagation.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>test_fs_saturate_propagation.<wbr>cpp b/src/intel/compiler/test_fs_<wbr>saturate_propagation.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/<wbr>test_fs_saturate_propagation.<wbr>cpp<br>
rename to src/intel/compiler/test_fs_<wbr>saturate_propagation.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>test_vec4_cmod_propagation.cpp b/src/intel/compiler/test_<wbr>vec4_cmod_propagation.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/<wbr>test_vec4_cmod_propagation.cpp<br>
rename to src/intel/compiler/test_vec4_<wbr>cmod_propagation.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>test_vec4_copy_propagation.cpp b/src/intel/compiler/test_<wbr>vec4_copy_propagation.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/<wbr>test_vec4_copy_propagation.cpp<br>
rename to src/intel/compiler/test_vec4_<wbr>copy_propagation.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>test_vec4_register_coalesce.<wbr>cpp b/src/intel/compiler/test_<wbr>vec4_register_coalesce.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/<wbr>test_vec4_register_coalesce.<wbr>cpp<br>
rename to src/intel/compiler/test_vec4_<wbr>register_coalesce.cpp<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>test_vf_float_conversions.cpp b/src/intel/compiler/test_vf_<wbr>float_conversions.cpp<br>
similarity index 100%<br>
rename from src/mesa/drivers/dri/i965/<wbr>test_vf_float_conversions.cpp<br>
rename to src/intel/compiler/test_vf_<wbr>float_conversions.cpp<br>
diff --git a/src/intel/tools/Makefile.am b/src/intel/tools/Makefile.am<br>
index 5f4d78d6fd..3ef4f31ade 100644<br>
--- a/src/intel/tools/Makefile.am<br>
+++ b/src/intel/tools/Makefile.am<br>
@@ -29,8 +29,6 @@ AM_CPPFLAGS = \<br>
-I$(top_srcdir)/src \<br>
-I$(top_srcdir)/src/mapi \<br>
-I$(top_srcdir)/src/mesa \<br>
- -I$(top_srcdir)/src/mesa/<wbr>drivers/dri/common \<br>
- -I$(top_srcdir)/src/mesa/<wbr>drivers/dri/i965 \<br>
-I$(top_srcdir)/src/gallium/<wbr>auxiliary \<br>
-I$(top_srcdir)/src/gallium/<wbr>include \<br>
-I$(top_builddir)/src/intel \<br>
@@ -38,7 +36,7 @@ AM_CPPFLAGS = \<br>
<br>
aubinator_DEPS = \<br>
$(top_builddir)/src/intel/<wbr>common/<a href="http://libintel_common.la" rel="noreferrer" target="_blank">libintel_common.la</a> \<br>
- $(top_builddir)/src/mesa/<wbr>drivers/dri/i965/<a href="http://libi965_compiler.la" rel="noreferrer" target="_blank">libi965_<wbr>compiler.la</a> \<br>
+ $(top_builddir)/src/intel/<wbr>compiler/<a href="http://libintel_compiler.la" rel="noreferrer" target="_blank">libintel_compiler.la</a> \<br>
$(top_builddir)/src/util/<a href="http://libmesautil.la" rel="noreferrer" target="_blank">libme<wbr>sautil.la</a> \<br>
$(PER_GEN_LIBS) \<br>
$(PTHREAD_LIBS) \<br>
diff --git a/src/intel/tools/disasm.c b/src/intel/tools/disasm.c<br>
index 96c6ce290a..62256d2b53 100644<br>
--- a/src/intel/tools/disasm.c<br>
+++ b/src/intel/tools/disasm.c<br>
@@ -23,8 +23,8 @@<br>
<br>
#include <stdlib.h><br>
<br>
-#include "brw_inst.h"<br>
-#include "brw_eu.h"<br>
+#include "compiler/brw_inst.h"<br>
+#include "compiler/brw_eu.h"<br>
<br>
#include "gen_disasm.h"<br>
<br>
diff --git a/src/intel/vulkan/Android.mk b/src/intel/vulkan/Android.mk<br>
index a6a7d263f6..ae6b7c7a9d 100644<br>
--- a/src/intel/vulkan/Android.mk<br>
+++ b/src/intel/vulkan/Android.mk<br>
@@ -220,7 +220,7 @@ LOCAL_WHOLE_STATIC_LIBRARIES := \<br>
libmesa_anv_gen75 \<br>
libmesa_anv_gen8 \<br>
libmesa_anv_gen9 \<br>
- libmesa_i965_compiler \<br>
+ libmesa_intel_compiler \<br>
libmesa_anv_entrypoints<br>
<br>
LOCAL_SHARED_LIBRARIES := \<br>
diff --git a/src/intel/vulkan/Makefile.am b/src/intel/vulkan/Makefile.am<br>
index 6c902b52e1..fa594c0759 100644<br>
--- a/src/intel/vulkan/Makefile.am<br>
+++ b/src/intel/vulkan/Makefile.am<br>
@@ -123,7 +123,7 @@ VULKAN_LIB_DEPS += \<br>
<a href="http://libvulkan_common.la" rel="noreferrer" target="_blank">libvulkan_common.la</a> \<br>
$(top_builddir)/src/vulkan/<a href="http://libvulkan_util.la" rel="noreferrer" target="_blank">lib<wbr>vulkan_util.la</a> \<br>
$(top_builddir)/src/vulkan/<a href="http://libvulkan_wsi.la" rel="noreferrer" target="_blank">lib<wbr>vulkan_wsi.la</a> \<br>
- $(top_builddir)/src/mesa/<wbr>drivers/dri/i965/<a href="http://libi965_compiler.la" rel="noreferrer" target="_blank">libi965_<wbr>compiler.la</a> \<br>
+ $(top_builddir)/src/intel/<wbr>compiler/<a href="http://libintel_compiler.la" rel="noreferrer" target="_blank">libintel_compiler.la</a> \<br>
$(top_builddir)/src/compiler/<wbr>nir/<a href="http://libnir.la" rel="noreferrer" target="_blank">libnir.la</a> \<br>
$(top_builddir)/src/util/<a href="http://libmesautil.la" rel="noreferrer" target="_blank">libme<wbr>sautil.la</a> \<br>
$(top_builddir)/src/intel/<wbr>common/<a href="http://libintel_common.la" rel="noreferrer" target="_blank">libintel_common.la</a> \<br>
diff --git a/src/intel/vulkan/anv_<wbr>pipeline.c b/src/intel/vulkan/anv_<wbr>pipeline.c<br>
index dc65e268de..6362c2db6b 100644<br>
--- a/src/intel/vulkan/anv_<wbr>pipeline.c<br>
+++ b/src/intel/vulkan/anv_<wbr>pipeline.c<br>
@@ -30,7 +30,7 @@<br>
#include "util/mesa-sha1.h"<br>
#include "common/gen_l3_config.h"<br>
#include "anv_private.h"<br>
-#include "brw_nir.h"<br>
+#include "compiler/brw_nir.h"<br>
#include "anv_nir.h"<br>
#include "spirv/nir_spirv.h"<br>
<br>
diff --git a/src/intel/vulkan/anv_<wbr>private.h b/src/intel/vulkan/anv_<wbr>private.h<br>
index 2552226879..3855416657 100644<br>
--- a/src/intel/vulkan/anv_<wbr>private.h<br>
+++ b/src/intel/vulkan/anv_<wbr>private.h<br>
@@ -43,7 +43,7 @@<br>
<br>
#include "common/gen_device_info.h"<br>
#include "blorp/blorp.h"<br>
-#include "brw_compiler.h"<br>
+#include "compiler/brw_compiler.h"<br>
#include "util/macros.h"<br>
#include "util/list.h"<br>
#include "util/u_vector.h"<br>
diff --git a/src/mesa/drivers/dri/i965/.<wbr>gitignore b/src/mesa/drivers/dri/i965/.<wbr>gitignore<br>
index a6ecc924fa..b806e740c2 100644<br>
--- a/src/mesa/drivers/dri/i965/.<wbr>gitignore<br>
+++ b/src/mesa/drivers/dri/i965/.<wbr>gitignore<br>
@@ -1,9 +1 @@<br>
-brw_nir_trig_workarounds.c<br>
i965_symbols_test<br>
-test_eu_compact<br>
-test_vec4_copy_propagation<br>
-test_vec4_register_coalesce<br>
-test_vf_float_conversions<br>
-test_fs_cmod_propagation<br>
-test_fs_saturate_propagation<br>
-test_vec4_cmod_propagation<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>Android.mk b/src/mesa/drivers/dri/i965/<wbr>Android.mk<br>
index 7dea3c2507..708851c866 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>Android.mk<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>Android.mk<br>
@@ -152,32 +152,6 @@ include $(MESA_COMMON_MK)<br>
include $(BUILD_STATIC_LIBRARY)<br>
<br>
# ------------------------------<wbr>---------<br>
-# Build libmesa_i965_compiler<br>
-# ------------------------------<wbr>---------<br>
-<br>
-include $(CLEAR_VARS)<br>
-<br>
-LOCAL_MODULE := libmesa_i965_compiler<br>
-LOCAL_MODULE_CLASS := STATIC_LIBRARIES<br>
-<br>
-LOCAL_SRC_FILES := \<br>
- $(i965_compiler_FILES)<br>
-<br>
-LOCAL_C_INCLUDES := \<br>
- $(MESA_DRI_C_INCLUDES) \<br>
- $(MESA_TOP)/src/intel \<br>
- $(MESA_TOP)/src/compiler/nir \<br>
- $(call generated-sources-dir-for,<wbr>STATIC_LIBRARIES,libmesa_nir,,<wbr>)/nir \<br>
- $(call generated-sources-dir-for,<wbr>STATIC_LIBRARIES,libmesa_glsl,<wbr>,)/glsl<br>
-<br>
-LOCAL_SHARED_LIBRARIES := \<br>
- libdrm_intel<br>
-<br>
-include $(LOCAL_PATH)/<a href="http://Android.gen.mk" rel="noreferrer" target="_blank">Android.gen.mk</a><br>
-include $(MESA_COMMON_MK)<br>
-include $(BUILD_STATIC_LIBRARY)<br>
-<br>
-# ------------------------------<wbr>---------<br>
# Build i965_dri<br>
# ------------------------------<wbr>---------<br>
<br>
@@ -209,9 +183,9 @@ LOCAL_WHOLE_STATIC_LIBRARIES := \<br>
$(MESA_DRI_WHOLE_STATIC_<wbr>LIBRARIES) \<br>
$(I965_PERGEN_LIBS) \<br>
libmesa_intel_common \<br>
- libmesa_blorp \<br>
libmesa_isl \<br>
- libmesa_i965_compiler<br>
+ libmesa_blorp \<br>
+ libmesa_intel_compiler<br>
<br>
LOCAL_SHARED_LIBRARIES := \<br>
$(MESA_DRI_SHARED_LIBRARIES) \<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>Makefile.am b/src/mesa/drivers/dri/i965/<wbr>Makefile.am<br>
index 4ff7e70b51..a2a054b6df 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>Makefile.am<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>Makefile.am<br>
@@ -44,11 +44,6 @@ AM_CFLAGS = \<br>
<br>
AM_CXXFLAGS = $(AM_CFLAGS)<br>
<br>
-MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D)<br>
-brw_nir_trig_workarounds.c: brw_nir_trig_workarounds.py $(top_srcdir)/src/compiler/<wbr>nir/nir_algebraic.py<br>
- $(MKDIR_GEN)<br>
- $(AM_V_GEN) PYTHONPATH=$(top_srcdir)/src/<wbr>compiler/nir $(PYTHON2) $(PYTHON_FLAGS) $(srcdir)/brw_nir_trig_<wbr>workarounds.py > $@ || ($(RM) $@; false)<br>
-<br>
I965_PERGEN_LIBS = \<br>
<a href="http://libi965_gen6.la" rel="noreferrer" target="_blank">libi965_gen6.la</a> \<br>
<a href="http://libi965_gen7.la" rel="noreferrer" target="_blank">libi965_gen7.la</a> \<br>
@@ -73,100 +68,13 @@ libi965_gen9_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=90<br>
<br>
noinst_LTLIBRARIES = \<br>
<a href="http://libi965_dri.la" rel="noreferrer" target="_blank">libi965_dri.la</a> \<br>
- <a href="http://libi965_compiler.la" rel="noreferrer" target="_blank">libi965_compiler.la</a> \<br>
$(I965_PERGEN_LIBS)<br>
<br>
libi965_dri_la_SOURCES = $(i965_FILES)<br>
libi965_dri_la_LIBADD = \<br>
$(top_builddir)/src/intel/<wbr>common/<a href="http://libintel_common.la" rel="noreferrer" target="_blank">libintel_common.la</a> \<br>
$(top_builddir)/src/intel/isl/<a href="http://libisl.la" rel="noreferrer" target="_blank"><wbr>libisl.la</a> \<br>
- <a href="http://libi965_compiler.la" rel="noreferrer" target="_blank">libi965_compiler.la</a> \<br>
+ $(top_builddir)/src/intel/<wbr>compiler/<a href="http://libintel_compiler.la" rel="noreferrer" target="_blank">libintel_compiler.la</a> \<br>
$(top_builddir)/src/intel/<wbr>blorp/<a href="http://libblorp.la" rel="noreferrer" target="_blank">libblorp.la</a> \<br>
$(I965_PERGEN_LIBS) \<br>
$(INTEL_LIBS)<br>
-<br>
-libi965_compiler_la_SOURCES = \<br>
- $(i965_compiler_FILES) \<br>
- $(i965_compiler_GENERATED_<wbr>FILES)<br>
-<br>
-BUILT_SOURCES = $(i965_compiler_GENERATED_<wbr>FILES)<br>
-CLEANFILES = $(BUILT_SOURCES)<br>
-<br>
-EXTRA_DIST = \<br>
- brw_nir_trig_workarounds.py<br>
-<br>
-TEST_LIBS = \<br>
- <a href="http://libi965_compiler.la" rel="noreferrer" target="_blank">libi965_compiler.la</a> \<br>
- $(I965_PERGEN_LIBS) \<br>
- $(top_builddir)/src/intel/<wbr>common/<a href="http://libintel_common.la" rel="noreferrer" target="_blank">libintel_common.la</a> \<br>
- $(top_builddir)/src/compiler/<wbr>nir/<a href="http://libnir.la" rel="noreferrer" target="_blank">libnir.la</a> \<br>
- $(top_builddir)/src/util/<a href="http://libmesautil.la" rel="noreferrer" target="_blank">libme<wbr>sautil.la</a> \<br>
- $(top_builddir)/src/intel/isl/<a href="http://libisl.la" rel="noreferrer" target="_blank"><wbr>libisl.la</a> \<br>
- $(PTHREAD_LIBS) \<br>
- $(DLOPEN_LIBS)<br>
-<br>
-TESTS = \<br>
- test_fs_cmod_propagation \<br>
- test_fs_copy_propagation \<br>
- test_fs_saturate_propagation \<br>
- test_eu_compact \<br>
- test_eu_validate \<br>
- test_vf_float_conversions \<br>
- test_vec4_cmod_propagation \<br>
- test_vec4_copy_propagation \<br>
- test_vec4_register_coalesce<br>
-<br>
-check_PROGRAMS = $(TESTS)<br>
-<br>
-test_fs_cmod_propagation_<wbr>SOURCES = \<br>
- test_fs_cmod_propagation.cpp<br>
-test_fs_cmod_propagation_<wbr>LDADD = \<br>
- $(top_builddir)/src/gtest/<a href="http://libgtest.la" rel="noreferrer" target="_blank">libg<wbr>test.la</a> \<br>
- $(TEST_LIBS)<br>
-<br>
-test_fs_copy_propagation_<wbr>SOURCES = \<br>
- test_fs_copy_propagation.cpp<br>
-test_fs_copy_propagation_<wbr>LDADD = \<br>
- $(top_builddir)/src/gtest/<a href="http://libgtest.la" rel="noreferrer" target="_blank">libg<wbr>test.la</a> \<br>
- $(TEST_LIBS)<br>
-<br>
-test_fs_saturate_propagation_<wbr>SOURCES = \<br>
- test_fs_saturate_propagation.<wbr>cpp<br>
-test_fs_saturate_propagation_<wbr>LDADD = \<br>
- $(top_builddir)/src/gtest/<a href="http://libgtest.la" rel="noreferrer" target="_blank">libg<wbr>test.la</a> \<br>
- $(TEST_LIBS)<br>
-<br>
-test_vf_float_conversions_<wbr>SOURCES = \<br>
- test_vf_float_conversions.cpp<br>
-test_vf_float_conversions_<wbr>LDADD = \<br>
- $(top_builddir)/src/gtest/<a href="http://libgtest.la" rel="noreferrer" target="_blank">libg<wbr>test.la</a> \<br>
- $(TEST_LIBS)<br>
-<br>
-test_vec4_register_coalesce_<wbr>SOURCES = \<br>
- test_vec4_register_coalesce.<wbr>cpp<br>
-test_vec4_register_coalesce_<wbr>LDADD = \<br>
- $(top_builddir)/src/gtest/<a href="http://libgtest.la" rel="noreferrer" target="_blank">libg<wbr>test.la</a> \<br>
- $(TEST_LIBS)<br>
-<br>
-test_vec4_copy_propagation_<wbr>SOURCES = \<br>
- test_vec4_copy_propagation.cpp<br>
-test_vec4_copy_propagation_<wbr>LDADD = \<br>
- $(top_builddir)/src/gtest/<a href="http://libgtest.la" rel="noreferrer" target="_blank">libg<wbr>test.la</a> \<br>
- $(TEST_LIBS)<br>
-<br>
-test_vec4_cmod_propagation_<wbr>SOURCES = \<br>
- test_vec4_cmod_propagation.cpp<br>
-test_vec4_cmod_propagation_<wbr>LDADD = \<br>
- $(top_builddir)/src/gtest/<a href="http://libgtest.la" rel="noreferrer" target="_blank">libg<wbr>test.la</a> \<br>
- $(TEST_LIBS)<br>
-<br>
-test_eu_compact_SOURCES = \<br>
- test_eu_compact.c<br>
-nodist_EXTRA_test_eu_compact_<wbr>SOURCES = dummy.cpp<br>
-test_eu_compact_LDADD = $(TEST_LIBS)<br>
-<br>
-test_eu_validate_SOURCES = \<br>
- test_eu_validate.cpp<br>
-test_eu_validate_LDADD = \<br>
- $(top_builddir)/src/gtest/<a href="http://libgtest.la" rel="noreferrer" target="_blank">libg<wbr>test.la</a> \<br>
- $(TEST_LIBS)<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>Makefile.sources b/src/mesa/drivers/dri/i965/<wbr>Makefile.sources<br>
index b1776a8513..8f69993533 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>Makefile.sources<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>Makefile.sources<br>
@@ -1,94 +1,3 @@<br>
-i965_compiler_FILES = \<br>
- brw_cfg.cpp \<br>
- brw_cfg.h \<br>
- brw_compiler.c \<br>
- brw_compiler.h \<br>
- brw_dead_control_flow.cpp \<br>
- brw_dead_control_flow.h \<br>
- brw_defines.h \<br>
- brw_disasm.c \<br>
- brw_eu.c \<br>
- brw_eu_compact.c \<br>
- brw_eu_emit.c \<br>
- brw_eu.h \<br>
- brw_eu_util.c \<br>
- brw_eu_validate.c \<br>
- brw_fs_builder.h \<br>
- brw_fs_cmod_propagation.cpp \<br>
- brw_fs_combine_constants.cpp \<br>
- brw_fs_copy_propagation.cpp \<br>
- brw_fs.cpp \<br>
- brw_fs_cse.cpp \<br>
- brw_fs_dead_code_eliminate.cpp \<br>
- brw_fs_generator.cpp \<br>
- brw_fs.h \<br>
- brw_fs_live_variables.cpp \<br>
- brw_fs_live_variables.h \<br>
- brw_fs_lower_d2x.cpp \<br>
- brw_fs_lower_pack.cpp \<br>
- brw_fs_nir.cpp \<br>
- brw_fs_reg_allocate.cpp \<br>
- brw_fs_register_coalesce.cpp \<br>
- brw_fs_saturate_propagation.<wbr>cpp \<br>
- brw_fs_sel_peephole.cpp \<br>
- brw_fs_surface_builder.cpp \<br>
- brw_fs_surface_builder.h \<br>
- brw_fs_validate.cpp \<br>
- brw_fs_visitor.cpp \<br>
- brw_inst.h \<br>
- brw_interpolation_map.c \<br>
- brw_ir_allocator.h \<br>
- brw_ir_fs.h \<br>
- brw_ir_vec4.h \<br>
- brw_nir.h \<br>
- brw_nir.c \<br>
- brw_nir_analyze_boolean_<wbr>resolves.c \<br>
- brw_nir_attribute_workarounds.<wbr>c \<br>
- brw_nir_intrinsics.c \<br>
- brw_nir_opt_peephole_ffma.c \<br>
- brw_nir_tcs_workarounds.c \<br>
- brw_packed_float.c \<br>
- brw_predicated_break.cpp \<br>
- brw_reg.h \<br>
- brw_schedule_instructions.cpp \<br>
- brw_shader.cpp \<br>
- brw_shader.h \<br>
- brw_util.c \<br>
- brw_util.h \<br>
- brw_vec4_builder.h \<br>
- brw_vec4_cmod_propagation.cpp \<br>
- brw_vec4_copy_propagation.cpp \<br>
- brw_vec4.cpp \<br>
- brw_vec4_cse.cpp \<br>
- brw_vec4_dead_code_eliminate.<wbr>cpp \<br>
- brw_vec4_generator.cpp \<br>
- brw_vec4_gs_visitor.cpp \<br>
- brw_vec4_gs_visitor.h \<br>
- brw_vec4.h \<br>
- brw_vec4_live_variables.cpp \<br>
- brw_vec4_live_variables.h \<br>
- brw_vec4_nir.cpp \<br>
- brw_vec4_gs_nir.cpp \<br>
- brw_vec4_reg_allocate.cpp \<br>
- brw_vec4_surface_builder.cpp \<br>
- brw_vec4_surface_builder.h \<br>
- brw_vec4_tcs.cpp \<br>
- brw_vec4_tcs.h \<br>
- brw_vec4_tes.cpp \<br>
- brw_vec4_tes.h \<br>
- brw_vec4_visitor.cpp \<br>
- brw_vec4_vs_visitor.cpp \<br>
- brw_vec4_vs.h \<br>
- brw_vue_map.c \<br>
- brw_wm_iz.cpp \<br>
- gen6_gs_visitor.cpp \<br>
- gen6_gs_visitor.h \<br>
- intel_asm_annotation.c \<br>
- intel_asm_annotation.h<br>
-<br>
-i965_compiler_GENERATED_FILES = \<br>
- brw_nir_trig_workarounds.c<br>
-<br>
i965_FILES = \<br>
brw_binding_tables.c \<br>
brw_blorp.c \<br>
@@ -157,6 +66,8 @@ i965_FILES = \<br>
brw_tes_surface_state.c \<br>
brw_tex_layout.c \<br>
brw_urb.c \<br>
+ brw_util.c \<br>
+ brw_util.h \<br>
brw_vs.c \<br>
brw_vs.h \<br>
brw_vs_state.c \<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_binding_tables.c b/src/mesa/drivers/dri/i965/<wbr>brw_binding_tables.c<br>
index 4c4c9c22ca..b8fe16d7ef 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_binding_tables.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_binding_tables.c<br>
@@ -40,7 +40,7 @@<br>
#include "main/mtypes.h"<br>
<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_state.h"<br>
#include "intel_batchbuffer.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_blorp.c b/src/mesa/drivers/dri/i965/<wbr>brw_blorp.c<br>
index 9f7ba3dd5a..6e28f14de9 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_blorp.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_blorp.c<br>
@@ -30,7 +30,7 @@<br>
<br>
#include "brw_blorp.h"<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_meta_util.h"<br>
#include "brw_state.h"<br>
#include "intel_fbo.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_cc.c b/src/mesa/drivers/dri/i965/<wbr>brw_cc.c<br>
index c3b00e1b60..52e7226ee2 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_cc.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_cc.c<br>
@@ -32,7 +32,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_util.h"<br>
#include "main/macros.h"<br>
#include "main/stencil.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_clear.c b/src/mesa/drivers/dri/i965/<wbr>brw_clear.c<br>
index ba9aa4b654..81afeeb88a 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_clear.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_clear.c<br>
@@ -36,7 +36,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_blorp.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
<br>
#define FILE_DEBUG_FLAG DEBUG_BLIT<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_clip.c b/src/mesa/drivers/dri/i965/<wbr>brw_clip.c<br>
index 4187207c6d..767dc63b5c 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_clip.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_clip.c<br>
@@ -34,7 +34,7 @@<br>
<br>
#include "intel_batchbuffer.h"<br>
<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_context.h"<br>
#include "brw_util.h"<br>
#include "brw_state.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_clip.h b/src/mesa/drivers/dri/i965/<wbr>brw_clip.h<br>
index a8ee3948cd..9dc1f12ea5 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_clip.h<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_clip.h<br>
@@ -34,7 +34,7 @@<br>
<br>
<br>
#include "brw_context.h"<br>
-#include "brw_eu.h"<br>
+#include "compiler/brw_eu.h"<br>
<br>
/* Initial 3 verts, plus at most 6 additional verts from intersections<br>
* with fixed planes, plus at most 8 additional verts from intersections<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_clip_line.c b/src/mesa/drivers/dri/i965/<wbr>brw_clip_line.c<br>
index 788dc9666c..da613bb91c 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_clip_line.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_clip_line.c<br>
@@ -35,7 +35,7 @@<br>
<br>
#include "intel_batchbuffer.h"<br>
<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_context.h"<br>
#include "brw_clip.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_clip_point.c b/src/mesa/drivers/dri/i965/<wbr>brw_clip_point.c<br>
index bdbf969534..e332c2e00b 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_clip_point.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_clip_point.c<br>
@@ -35,7 +35,7 @@<br>
<br>
#include "intel_batchbuffer.h"<br>
<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_context.h"<br>
#include "brw_clip.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_clip_state.c b/src/mesa/drivers/dri/i965/<wbr>brw_clip_state.c<br>
index 39c149c976..3426fed4fb 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_clip_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_clip_state.c<br>
@@ -31,7 +31,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "main/framebuffer.h"<br>
<br>
static void<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_clip_tri.c b/src/mesa/drivers/dri/i965/<wbr>brw_clip_tri.c<br>
index d98e1ccb5f..93be80f02a 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_clip_tri.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_clip_tri.c<br>
@@ -35,7 +35,7 @@<br>
<br>
#include "intel_batchbuffer.h"<br>
<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_context.h"<br>
#include "brw_clip.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_clip_unfilled.c b/src/mesa/drivers/dri/i965/<wbr>brw_clip_unfilled.c<br>
index 65ccf33e37..5f0a36b10f 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_clip_unfilled.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_clip_unfilled.c<br>
@@ -35,7 +35,7 @@<br>
<br>
#include "intel_batchbuffer.h"<br>
<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_context.h"<br>
#include "brw_clip.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_clip_util.c b/src/mesa/drivers/dri/i965/<wbr>brw_clip_util.c<br>
index e0fdd3d7ee..8b06fcaea4 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_clip_util.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_clip_util.c<br>
@@ -36,7 +36,7 @@<br>
<br>
#include "intel_batchbuffer.h"<br>
<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_context.h"<br>
#include "brw_clip.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_compute.c b/src/mesa/drivers/dri/i965/<wbr>brw_compute.c<br>
index 16b5df7ca4..df7e438cc8 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_compute.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_compute.c<br>
@@ -31,7 +31,7 @@<br>
#include "brw_state.h"<br>
#include "intel_batchbuffer.h"<br>
#include "intel_buffer_objects.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
<br>
<br>
static void<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_conditional_render.c b/src/mesa/drivers/dri/i965/<wbr>brw_conditional_render.c<br>
index 046a42b5f5..97bb9f0b4c 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_conditional_render.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_conditional_render.c<br>
@@ -34,7 +34,7 @@<br>
#include "main/condrender.h"<br>
<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
<br>
static void<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_context.c b/src/mesa/drivers/dri/i965/<wbr>brw_context.c<br>
index c8e7cc1680..9be6559295 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_context.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_context.c<br>
@@ -51,7 +51,7 @@<br>
#include "utils.h"<br>
<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_blorp.h"<br>
#include "brw_draw.h"<br>
#include "brw_state.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_context.h b/src/mesa/drivers/dri/i965/<wbr>brw_context.h<br>
index 96e225cbd1..2144701e57 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_context.h<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_context.h<br>
@@ -37,7 +37,7 @@<br>
#include "main/macros.h"<br>
#include "main/mtypes.h"<br>
#include "brw_structs.h"<br>
-#include "brw_compiler.h"<br>
+#include "compiler/brw_compiler.h"<br>
#include "intel_aub.h"<br>
<br>
#include "isl/isl.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_cs.c b/src/mesa/drivers/dri/i965/<wbr>brw_cs.c<br>
index 1653ad59c4..eaa7381cfc 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_cs.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_cs.c<br>
@@ -28,7 +28,7 @@<br>
#include "intel_mipmap_tree.h"<br>
#include "brw_state.h"<br>
#include "intel_batchbuffer.h"<br>
-#include "brw_nir.h"<br>
+#include "compiler/brw_nir.h"<br>
#include "brw_program.h"<br>
#include "compiler/glsl/ir_uniform.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_curbe.c b/src/mesa/drivers/dri/i965/<wbr>brw_curbe.c<br>
index 7d58efb622..976f184df2 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_curbe.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_curbe.c<br>
@@ -61,7 +61,7 @@<br>
#include "intel_batchbuffer.h"<br>
#include "intel_buffer_objects.h"<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_state.h"<br>
#include "brw_util.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_draw.c b/src/mesa/drivers/dri/i965/<wbr>brw_draw.c<br>
index e3aaeb806d..b33efa8e98 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_draw.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_draw.c<br>
@@ -42,7 +42,7 @@<br>
<br>
#include "brw_blorp.h"<br>
#include "brw_draw.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_draw_upload.c b/src/mesa/drivers/dri/i965/<wbr>brw_draw_upload.c<br>
index 025da5e10d..c339a6de75 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_draw_upload.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_draw_upload.c<br>
@@ -30,7 +30,7 @@<br>
#include "main/glformats.h"<br>
<br>
#include "brw_draw.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_ff_gs.c b/src/mesa/drivers/dri/i965/<wbr>brw_ff_gs.c<br>
index b7b4b71601..9148a1c2d3 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_ff_gs.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_ff_gs.c<br>
@@ -35,7 +35,7 @@<br>
<br>
#include "intel_batchbuffer.h"<br>
<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_context.h"<br>
#include "brw_util.h"<br>
#include "brw_state.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_ff_gs.h b/src/mesa/drivers/dri/i965/<wbr>brw_ff_gs.h<br>
index e952b6413d..bac2730b7e 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_ff_gs.h<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_ff_gs.h<br>
@@ -35,7 +35,7 @@<br>
<br>
<br>
#include "brw_context.h"<br>
-#include "brw_eu.h"<br>
+#include "compiler/brw_eu.h"<br>
<br>
#define MAX_GS_VERTS (4)<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_ff_gs_emit.c b/src/mesa/drivers/dri/i965/<wbr>brw_ff_gs_emit.c<br>
index 6941268c34..038f1ec048 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_ff_gs_emit.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_ff_gs_emit.c<br>
@@ -36,7 +36,7 @@<br>
#include "program/program.h"<br>
#include "intel_batchbuffer.h"<br>
<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_context.h"<br>
#include "brw_ff_gs.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_gs.c b/src/mesa/drivers/dri/i965/<wbr>brw_gs.c<br>
index 412ea97dc0..b8434a89f8 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_gs.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_gs.c<br>
@@ -31,7 +31,7 @@<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
#include "brw_ff_gs.h"<br>
-#include "brw_nir.h"<br>
+#include "compiler/brw_nir.h"<br>
#include "brw_program.h"<br>
#include "compiler/glsl/ir_uniform.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_gs_state.c b/src/mesa/drivers/dri/i965/<wbr>brw_gs_state.c<br>
index 8e3bf1ef65..0ad0659b3e 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_gs_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_gs_state.c<br>
@@ -33,7 +33,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
<br>
static void<br>
brw_upload_gs_unit(struct brw_context *brw)<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_link.cpp b/src/mesa/drivers/dri/i965/<wbr>brw_link.cpp<br>
index e124f92cba..7c10a40bdf 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_link.cpp<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_link.cpp<br>
@@ -22,7 +22,7 @@<br>
*/<br>
<br>
#include "brw_context.h"<br>
-#include "brw_nir.h"<br>
+#include "compiler/brw_nir.h"<br>
#include "brw_program.h"<br>
#include "compiler/glsl/ir.h"<br>
#include "compiler/glsl/ir_<wbr>optimization.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_meta_util.c b/src/mesa/drivers/dri/i965/<wbr>brw_meta_util.c<br>
index 07a160fc40..3d15e12159 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_meta_util.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_meta_util.c<br>
@@ -22,7 +22,7 @@<br>
*/<br>
<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_fbo.h"<br>
#include "brw_meta_util.h"<br>
#include "brw_state.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_misc_state.c b/src/mesa/drivers/dri/i965/<wbr>brw_misc_state.c<br>
index 83da94155f..c123baa6c3 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_misc_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_misc_state.c<br>
@@ -37,7 +37,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
<br>
#include "main/framebuffer.h"<br>
#include "main/fbobject.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_nir_uniforms.cpp b/src/mesa/drivers/dri/i965/<wbr>brw_nir_uniforms.cpp<br>
index 024cf7914d..50bc1d07f8 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_nir_uniforms.cpp<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_nir_uniforms.cpp<br>
@@ -21,8 +21,7 @@<br>
* IN THE SOFTWARE.<br>
*/<br>
<br>
-#include "brw_nir.h"<br>
-#include "brw_shader.h"<br>
+#include "compiler/brw_nir.h"<br>
#include "compiler/glsl/ir_uniform.h"<br>
<br>
static void<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_performance_query.c b/src/mesa/drivers/dri/i965/<wbr>brw_performance_query.c<br>
index 6cd5bf4caa..a46cd5965d 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_performance_query.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_performance_query.c<br>
@@ -49,7 +49,7 @@<br>
#include "util/ralloc.h"<br>
<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_performance_query.h"<br>
#include "intel_batchbuffer.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_pipe_control.c b/src/mesa/drivers/dri/i965/<wbr>brw_pipe_control.c<br>
index b8f740640f..37121fae41 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_pipe_control.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_pipe_control.c<br>
@@ -22,7 +22,7 @@<br>
*/<br>
<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
#include "intel_fbo.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_primitive_restart.c b/src/mesa/drivers/dri/i965/<wbr>brw_primitive_restart.c<br>
index e329cc73b7..362903b215 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_primitive_restart.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_primitive_restart.c<br>
@@ -31,7 +31,7 @@<br>
#include "vbo/vbo.h"<br>
<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_draw.h"<br>
<br>
#include "intel_batchbuffer.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_program.c b/src/mesa/drivers/dri/i965/<wbr>brw_program.c<br>
index dbc39e53f2..34d009b69f 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_program.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_program.c<br>
@@ -43,7 +43,7 @@<br>
<br>
#include "brw_program.h"<br>
#include "brw_context.h"<br>
-#include "brw_nir.h"<br>
+#include "compiler/brw_nir.h"<br>
#include "intel_batchbuffer.h"<br>
<br>
static void<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_program.h b/src/mesa/drivers/dri/i965/<wbr>brw_program.h<br>
index 687b554b3b..2e9f12172e 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_program.h<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_program.h<br>
@@ -24,7 +24,7 @@<br>
#ifndef BRW_PROGRAM_H<br>
#define BRW_PROGRAM_H<br>
<br>
-#include "brw_compiler.h"<br>
+#include "compiler/brw_compiler.h"<br>
<br>
#ifdef __cplusplus<br>
extern "C" {<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_program_cache.c b/src/mesa/drivers/dri/i965/<wbr>brw_program_cache.c<br>
index 0ff4683f34..6bf26f31d3 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_program_cache.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_program_cache.c<br>
@@ -51,7 +51,7 @@<br>
#include "brw_gs.h"<br>
#include "brw_cs.h"<br>
#include "brw_program.h"<br>
-#include "brw_eu.h"<br>
+#include "compiler/brw_eu.h"<br>
<br>
#define FILE_DEBUG_FLAG DEBUG_STATE<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_queryobj.c b/src/mesa/drivers/dri/i965/<wbr>brw_queryobj.c<br>
index 40b86a0f64..27dba9e245 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_queryobj.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_queryobj.c<br>
@@ -38,7 +38,7 @@<br>
#include "main/imports.h"<br>
<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_state.h"<br>
#include "intel_batchbuffer.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_sampler_state.c b/src/mesa/drivers/dri/i965/<wbr>brw_sampler_state.c<br>
index b99a89893f..499ec72bed 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_sampler_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_sampler_state.c<br>
@@ -38,7 +38,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
#include "intel_mipmap_tree.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_sf.c b/src/mesa/drivers/dri/i965/<wbr>brw_sf.c<br>
index ff15c9755f..cb34c7f035 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_sf.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_sf.c<br>
@@ -37,7 +37,7 @@<br>
<br>
#include "intel_batchbuffer.h"<br>
<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_context.h"<br>
#include "brw_util.h"<br>
#include "brw_sf.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_sf.h b/src/mesa/drivers/dri/i965/<wbr>brw_sf.h<br>
index c6840dd9d2..f372656349 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_sf.h<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_sf.h<br>
@@ -36,7 +36,7 @@<br>
<br>
#include "program/program.h"<br>
#include "brw_context.h"<br>
-#include "brw_eu.h"<br>
+#include "compiler/brw_eu.h"<br>
<br>
<br>
#define SF_POINTS 0<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_sf_emit.c b/src/mesa/drivers/dri/i965/<wbr>brw_sf_emit.c<br>
index dc905034a6..2a18e9f073 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_sf_emit.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_sf_emit.c<br>
@@ -35,7 +35,7 @@<br>
<br>
#include "intel_batchbuffer.h"<br>
<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_context.h"<br>
#include "brw_util.h"<br>
#include "brw_sf.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_sf_state.c b/src/mesa/drivers/dri/i965/<wbr>brw_sf_state.c<br>
index 89406fc9cb..c8ea87d45a 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_sf_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_sf_state.c<br>
@@ -37,7 +37,7 @@<br>
#include "main/viewport.h"<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_sf.h"<br>
<br>
static void upload_sf_vp(struct brw_context *brw)<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_state_dump.c b/src/mesa/drivers/dri/i965/<wbr>brw_state_dump.c<br>
index bc9b9a352d..f56ff61b6d 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_state_dump.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_state_dump.c<br>
@@ -31,7 +31,7 @@<br>
#include "isl/isl.h"<br>
<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_state.h"<br>
<br>
static const char *sampler_mip_filter[] = {<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_surface_formats.c b/src/mesa/drivers/dri/i965/<wbr>brw_surface_formats.c<br>
index 706818d70b..9805bc84fb 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_surface_formats.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_surface_formats.c<br>
@@ -26,7 +26,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
<br>
uint32_t<br>
brw_format_for_mesa_format(<wbr>mesa_format mesa_format)<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_tcs.c b/src/mesa/drivers/dri/i965/<wbr>brw_tcs.c<br>
index 2bef1beb96..5acb77ce5f 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_tcs.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_tcs.c<br>
@@ -28,7 +28,7 @@<br>
*/<br>
<br>
#include "brw_context.h"<br>
-#include "brw_nir.h"<br>
+#include "compiler/brw_nir.h"<br>
#include "brw_program.h"<br>
#include "brw_state.h"<br>
#include "program/prog_parameter.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_tes.c b/src/mesa/drivers/dri/i965/<wbr>brw_tes.c<br>
index 8313d38443..8309315644 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_tes.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_tes.c<br>
@@ -28,7 +28,7 @@<br>
*/<br>
<br>
#include "brw_context.h"<br>
-#include "brw_nir.h"<br>
+#include "compiler/brw_nir.h"<br>
#include "brw_program.h"<br>
#include "brw_state.h"<br>
#include "program/prog_parameter.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_urb.c b/src/mesa/drivers/dri/i965/<wbr>brw_urb.c<br>
index d61e713800..9bfe895c87 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_urb.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_urb.c<br>
@@ -34,7 +34,7 @@<br>
#include "intel_batchbuffer.h"<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
<br>
#define VS 0<br>
#define GS 1<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_util.c b/src/mesa/drivers/dri/i965/<wbr>brw_util.c<br>
index f190a68cad..89672035a8 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_util.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_util.c<br>
@@ -31,7 +31,7 @@<br>
<br>
<br>
#include "brw_util.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
<br>
GLuint brw_translate_blend_equation( GLenum mode )<br>
{<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vs.c b/src/mesa/drivers/dri/i965/<wbr>brw_vs.c<br>
index a9c474ac06..c8be7c4dba 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_vs.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_vs.c<br>
@@ -38,7 +38,7 @@<br>
#include "brw_state.h"<br>
#include "program/prog_print.h"<br>
#include "program/prog_parameter.h"<br>
-#include "brw_nir.h"<br>
+#include "compiler/brw_nir.h"<br>
#include "brw_program.h"<br>
<br>
#include "util/ralloc.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_vs_state.c b/src/mesa/drivers/dri/i965/<wbr>brw_vs_state.c<br>
index d0d2695a49..a8d470567a 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_vs_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_vs_state.c<br>
@@ -33,7 +33,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "main/macros.h"<br>
<br>
static void<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_wm.c b/src/mesa/drivers/dri/i965/<wbr>brw_wm.c<br>
index c1f207e951..3342e71acb 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_wm.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_wm.c<br>
@@ -35,7 +35,7 @@<br>
#include "program/program.h"<br>
#include "intel_mipmap_tree.h"<br>
#include "intel_image.h"<br>
-#include "brw_nir.h"<br>
+#include "compiler/brw_nir.h"<br>
#include "brw_program.h"<br>
<br>
#include "util/ralloc.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_wm_state.c b/src/mesa/drivers/dri/i965/<wbr>brw_wm_state.c<br>
index 6f2ccabaa0..b36902c975 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_wm_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_wm_state.c<br>
@@ -35,7 +35,7 @@<br>
#include "intel_fbo.h"<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_wm.h"<br>
#include "compiler/nir/nir.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/<wbr>brw_wm_surface_state.c<br>
index e48b1e1d2d..de0a00505e 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_wm_surface_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_wm_surface_state.c<br>
@@ -52,7 +52,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_wm.h"<br>
<br>
enum {<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen6_cc.c b/src/mesa/drivers/dri/i965/<wbr>gen6_cc.c<br>
index 0c38930ec2..067a74c1a2 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen6_cc.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen6_cc.c<br>
@@ -27,7 +27,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_util.h"<br>
#include "intel_batchbuffer.h"<br>
#include "main/macros.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen6_clip_state.c b/src/mesa/drivers/dri/i965/<wbr>gen6_clip_state.c<br>
index 1c8c23730b..caf1adebcb 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen6_clip_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen6_clip_state.c<br>
@@ -27,7 +27,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_util.h"<br>
#include "intel_batchbuffer.h"<br>
#include "main/fbobject.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen6_constant_state.c b/src/mesa/drivers/dri/i965/<wbr>gen6_constant_state.c<br>
index 6c0c32b26f..b238c649bc 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen6_constant_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen6_constant_state.c<br>
@@ -23,7 +23,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
#include "program/prog_parameter.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen6_depth_state.c b/src/mesa/drivers/dri/i965/<wbr>gen6_depth_state.c<br>
index 0ff240753e..76bf9cbea6 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen6_depth_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen6_depth_state.c<br>
@@ -28,7 +28,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
<br>
#include "main/mtypes.h"<br>
#include "main/fbobject.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen6_depthstencil.c b/src/mesa/drivers/dri/i965/<wbr>gen6_depthstencil.c<br>
index 79d4d5da16..22e04de4e6 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen6_depthstencil.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen6_depthstencil.c<br>
@@ -28,7 +28,7 @@<br>
#include "intel_batchbuffer.h"<br>
#include "intel_fbo.h"<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_state.h"<br>
<br>
static void<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen6_gs_state.c b/src/mesa/drivers/dri/i965/<wbr>gen6_gs_state.c<br>
index e9179152b3..07faba9774 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen6_gs_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen6_gs_state.c<br>
@@ -27,7 +27,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
#include "main/shaderapi.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen6_multisample_state.c b/src/mesa/drivers/dri/i965/<wbr>gen6_multisample_state.c<br>
index a59ffec039..1a8509c93f 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen6_multisample_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen6_multisample_state.c<br>
@@ -24,7 +24,7 @@<br>
#include "intel_batchbuffer.h"<br>
<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_multisample_state.h"<br>
#include "main/framebuffer.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen6_queryobj.c b/src/mesa/drivers/dri/i965/<wbr>gen6_queryobj.c<br>
index 98cbbff914..301da22882 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen6_queryobj.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen6_queryobj.c<br>
@@ -34,7 +34,7 @@<br>
#include "main/imports.h"<br>
<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_state.h"<br>
#include "intel_batchbuffer.h"<br>
#include "intel_buffer_objects.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen6_sampler_state.c b/src/mesa/drivers/dri/i965/<wbr>gen6_sampler_state.c<br>
index b5a0c92b3b..891ba7d3ef 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen6_sampler_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen6_sampler_state.c<br>
@@ -27,7 +27,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
<br>
static void<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen6_scissor_state.c b/src/mesa/drivers/dri/i965/<wbr>gen6_scissor_state.c<br>
index 860445a2b4..7fe2503a83 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen6_scissor_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen6_scissor_state.c<br>
@@ -27,7 +27,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
#include "main/fbobject.h"<br>
#include "main/framebuffer.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen6_sf_state.c b/src/mesa/drivers/dri/i965/<wbr>gen6_sf_state.c<br>
index dd547790c9..226ba55503 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen6_sf_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen6_sf_state.c<br>
@@ -27,7 +27,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_util.h"<br>
#include "compiler/nir/nir.h"<br>
#include "main/macros.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen6_sol.c b/src/mesa/drivers/dri/i965/<wbr>gen6_sol.c<br>
index 132f0696e3..bc51f728ab 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen6_sol.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen6_sol.c<br>
@@ -30,7 +30,7 @@<br>
#include "main/macros.h"<br>
#include "brw_context.h"<br>
#include "intel_batchbuffer.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_state.h"<br>
#include "main/transformfeedback.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen6_urb.c b/src/mesa/drivers/dri/i965/<wbr>gen6_urb.c<br>
index e69a1dfada..a5ed21f342 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen6_urb.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen6_urb.c<br>
@@ -29,7 +29,7 @@<br>
#include "intel_batchbuffer.h"<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
<br>
/**<br>
* When the GS is not in use, we assign the entire URB space to the VS. When<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen6_viewport_state.c b/src/mesa/drivers/dri/i965/<wbr>gen6_viewport_state.c<br>
index 569e5bd4a1..010aaffb68 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen6_viewport_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen6_viewport_state.c<br>
@@ -27,7 +27,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
#include "main/fbobject.h"<br>
#include "main/framebuffer.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen6_vs_state.c b/src/mesa/drivers/dri/i965/<wbr>gen6_vs_state.c<br>
index 837762d391..d7bd38c400 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen6_vs_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen6_vs_state.c<br>
@@ -27,7 +27,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_util.h"<br>
#include "program/prog_parameter.h"<br>
#include "program/prog_statevars.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen6_wm_state.c b/src/mesa/drivers/dri/i965/<wbr>gen6_wm_state.c<br>
index a67e626f72..c28840a1b2 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen6_wm_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen6_wm_state.c<br>
@@ -27,7 +27,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_util.h"<br>
#include "brw_wm.h"<br>
#include "program/program.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen7_cs_state.c b/src/mesa/drivers/dri/i965/<wbr>gen7_cs_state.c<br>
index d8df6bb8d2..feacc4a833 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen7_cs_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen7_cs_state.c<br>
@@ -23,7 +23,7 @@<br>
<br>
#include "util/ralloc.h"<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_cs.h"<br>
#include "brw_wm.h"<br>
#include "intel_mipmap_tree.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen7_ds_state.c b/src/mesa/drivers/dri/i965/<wbr>gen7_ds_state.c<br>
index 9d7f5315de..97ac1959be 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen7_ds_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen7_ds_state.c<br>
@@ -23,7 +23,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
#include "main/shaderapi.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen7_gs_state.c b/src/mesa/drivers/dri/i965/<wbr>gen7_gs_state.c<br>
index 1b5b78290b..be35a1bec0 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen7_gs_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen7_gs_state.c<br>
@@ -23,7 +23,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
<br>
static void<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen7_hs_state.c b/src/mesa/drivers/dri/i965/<wbr>gen7_hs_state.c<br>
index fadea2351d..72b3c06b4e 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen7_hs_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen7_hs_state.c<br>
@@ -23,7 +23,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
#include "main/shaderapi.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen7_l3_state.c b/src/mesa/drivers/dri/i965/<wbr>gen7_l3_state.c<br>
index 536c00c454..ad98c70b4b 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen7_l3_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen7_l3_state.c<br>
@@ -24,7 +24,7 @@<br>
#include "common/gen_l3_config.h"<br>
<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_state.h"<br>
#include "intel_batchbuffer.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen7_misc_state.c b/src/mesa/drivers/dri/i965/<wbr>gen7_misc_state.c<br>
index af9be66ff8..12f15c01e9 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen7_misc_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen7_misc_state.c<br>
@@ -27,7 +27,7 @@<br>
#include "intel_fbo.h"<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
<br>
void<br>
gen7_emit_depth_stencil_hiz(<wbr>struct brw_context *brw,<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen7_sf_state.c b/src/mesa/drivers/dri/i965/<wbr>gen7_sf_state.c<br>
index d577a36015..486f38bc2f 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen7_sf_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen7_sf_state.c<br>
@@ -23,7 +23,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_util.h"<br>
#include "main/macros.h"<br>
#include "main/fbobject.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen7_sol_state.c b/src/mesa/drivers/dri/i965/<wbr>gen7_sol_state.c<br>
index a4f46ea486..61a173f89c 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen7_sol_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen7_sol_state.c<br>
@@ -30,7 +30,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
#include "intel_buffer_objects.h"<br>
#include "main/transformfeedback.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen7_te_state.c b/src/mesa/drivers/dri/i965/<wbr>gen7_te_state.c<br>
index e56fdcf4e8..bfd190e23a 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen7_te_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen7_te_state.c<br>
@@ -23,7 +23,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
<br>
static void<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen7_urb.c b/src/mesa/drivers/dri/i965/<wbr>gen7_urb.c<br>
index 028161df39..a06590dd54 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen7_urb.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen7_urb.c<br>
@@ -25,7 +25,7 @@<br>
#include "intel_batchbuffer.h"<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
<br>
#include "common/gen_l3_config.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen7_viewport_state.c b/src/mesa/drivers/dri/i965/<wbr>gen7_viewport_state.c<br>
index 000f238f3f..91ee44dc50 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen7_viewport_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen7_viewport_state.c<br>
@@ -23,7 +23,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
#include "main/fbobject.h"<br>
#include "main/framebuffer.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen7_vs_state.c b/src/mesa/drivers/dri/i965/<wbr>gen7_vs_state.c<br>
index 623c78471f..c1c6a2f017 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen7_vs_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen7_vs_state.c<br>
@@ -23,7 +23,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_util.h"<br>
#include "program/prog_parameter.h"<br>
#include "program/prog_statevars.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen7_wm_state.c b/src/mesa/drivers/dri/i965/<wbr>gen7_wm_state.c<br>
index be026e0589..84b654c507 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen7_wm_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen7_wm_state.c<br>
@@ -24,7 +24,7 @@<br>
#include <stdbool.h><br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_util.h"<br>
#include "brw_wm.h"<br>
#include "program/program.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen7_wm_surface_state.c b/src/mesa/drivers/dri/i965/<wbr>gen7_wm_surface_state.c<br>
index e30dbb336d..518cdb2707 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen7_wm_surface_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen7_wm_surface_state.c<br>
@@ -36,7 +36,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_wm.h"<br>
<br>
void<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen8_blend_state.c b/src/mesa/drivers/dri/i965/<wbr>gen8_blend_state.c<br>
index 2e4e8bfed1..ad7623879d 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen8_blend_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen8_blend_state.c<br>
@@ -23,7 +23,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_util.h"<br>
#include "brw_wm.h"<br>
#include "intel_batchbuffer.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen8_depth_state.c b/src/mesa/drivers/dri/i965/<wbr>gen8_depth_state.c<br>
index a7e61354fd..36c04b390d 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen8_depth_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen8_depth_state.c<br>
@@ -27,7 +27,7 @@<br>
#include "intel_resolve_map.h"<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_wm.h"<br>
#include "main/framebuffer.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen8_draw_upload.c b/src/mesa/drivers/dri/i965/<wbr>gen8_draw_upload.c<br>
index 32e144741a..e1ee4ea50d 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen8_draw_upload.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen8_draw_upload.c<br>
@@ -27,7 +27,7 @@<br>
#include "main/macros.h"<br>
<br>
#include "brw_draw.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen8_ds_state.c b/src/mesa/drivers/dri/i965/<wbr>gen8_ds_state.c<br>
index ee2f82e109..d7ffdbe3b8 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen8_ds_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen8_ds_state.c<br>
@@ -23,7 +23,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
<br>
static void<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen8_gs_state.c b/src/mesa/drivers/dri/i965/<wbr>gen8_gs_state.c<br>
index 2b74f1bd57..5db96e90f8 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen8_gs_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen8_gs_state.c<br>
@@ -23,7 +23,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
<br>
static void<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen8_hs_state.c b/src/mesa/drivers/dri/i965/<wbr>gen8_hs_state.c<br>
index ee47e5e54a..43c64a673f 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen8_hs_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen8_hs_state.c<br>
@@ -23,7 +23,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
<br>
static void<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen8_multisample_state.c b/src/mesa/drivers/dri/i965/<wbr>gen8_multisample_state.c<br>
index e36d037d47..eb051ab94a 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen8_multisample_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen8_multisample_state.c<br>
@@ -24,7 +24,7 @@<br>
#include "intel_batchbuffer.h"<br>
<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_multisample_state.h"<br>
<br>
/**<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen8_ps_state.c b/src/mesa/drivers/dri/i965/<wbr>gen8_ps_state.c<br>
index 03468267ce..149f4eda2e 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen8_ps_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen8_ps_state.c<br>
@@ -24,7 +24,7 @@<br>
#include <stdbool.h><br>
#include "program/program.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_wm.h"<br>
#include "intel_batchbuffer.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen8_sf_state.c b/src/mesa/drivers/dri/i965/<wbr>gen8_sf_state.c<br>
index 41e94fb504..edf2d602fc 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen8_sf_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen8_sf_state.c<br>
@@ -24,7 +24,7 @@<br>
#include "compiler/nir/nir.h"<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_util.h"<br>
#include "main/macros.h"<br>
#include "main/fbobject.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen8_sol_state.c b/src/mesa/drivers/dri/i965/<wbr>gen8_sol_state.c<br>
index 21cc129088..8da08f16d8 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen8_sol_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen8_sol_state.c<br>
@@ -30,7 +30,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
#include "intel_buffer_objects.h"<br>
#include "main/transformfeedback.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen8_surface_state.c b/src/mesa/drivers/dri/i965/<wbr>gen8_surface_state.c<br>
index 501531d4ad..2eea4a4c2e 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen8_surface_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen8_surface_state.c<br>
@@ -38,7 +38,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_wm.h"<br>
#include "isl/isl.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen8_viewport_state.c b/src/mesa/drivers/dri/i965/<wbr>gen8_viewport_state.c<br>
index 101ad2b110..747151858a 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen8_viewport_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen8_viewport_state.c<br>
@@ -23,7 +23,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
#include "main/fbobject.h"<br>
#include "main/framebuffer.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen8_vs_state.c b/src/mesa/drivers/dri/i965/<wbr>gen8_vs_state.c<br>
index 7b66da4b17..c45ea78546 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen8_vs_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen8_vs_state.c<br>
@@ -23,7 +23,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_util.h"<br>
#include "program/prog_parameter.h"<br>
#include "program/prog_statevars.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen8_wm_depth_stencil.c b/src/mesa/drivers/dri/i965/<wbr>gen8_wm_depth_stencil.c<br>
index 9a6c9e060b..f61da141ae 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen8_wm_depth_stencil.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen8_wm_depth_stencil.c<br>
@@ -24,7 +24,7 @@<br>
#include "intel_batchbuffer.h"<br>
#include "intel_fbo.h"<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_state.h"<br>
#include "main/stencil.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>hsw_queryobj.c b/src/mesa/drivers/dri/i965/<wbr>hsw_queryobj.c<br>
index 938fe06c87..6cd2a0f6f8 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>hsw_queryobj.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>hsw_queryobj.c<br>
@@ -29,7 +29,7 @@<br>
#include "main/imports.h"<br>
<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
#include "intel_buffer_objects.h"<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>hsw_sol.c b/src/mesa/drivers/dri/i965/<wbr>hsw_sol.c<br>
index b0dd150b7d..09f7e5795a 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>hsw_sol.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>hsw_sol.c<br>
@@ -30,7 +30,7 @@<br>
<br>
#include "brw_context.h"<br>
#include "brw_state.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
#include "intel_buffer_objects.h"<br>
#include "main/transformfeedback.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>intel_batchbuffer.c b/src/mesa/drivers/dri/i965/<wbr>intel_batchbuffer.c<br>
index afa061d70d..a54fd27a32 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>intel_batchbuffer.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>intel_batchbuffer.c<br>
@@ -29,7 +29,7 @@<br>
#include "intel_buffers.h"<br>
#include "intel_fbo.h"<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "brw_state.h"<br>
<br>
#include <xf86drm.h><br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>intel_blit.c b/src/mesa/drivers/dri/i965/<wbr>intel_blit.c<br>
index 4d4ab911cb..6a566118b5 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>intel_blit.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>intel_blit.c<br>
@@ -30,7 +30,7 @@<br>
#include "main/fbobject.h"<br>
<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_blit.h"<br>
#include "intel_buffers.h"<br>
#include "intel_fbo.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>intel_extensions.c b/src/mesa/drivers/dri/i965/<wbr>intel_extensions.c<br>
index 30f2c37695..0ff6add4a9 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>intel_extensions.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>intel_extensions.c<br>
@@ -26,7 +26,7 @@<br>
#include "main/version.h"<br>
<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_batchbuffer.h"<br>
<br>
/**<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>intel_fbo.c b/src/mesa/drivers/dri/i965/<wbr>intel_fbo.c<br>
index de0cd6aca2..e66ddb9d68 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>intel_fbo.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>intel_fbo.c<br>
@@ -49,7 +49,7 @@<br>
#include "intel_screen.h"<br>
#include "intel_tex.h"<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
<br>
#define FILE_DEBUG_FLAG DEBUG_FBO<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>intel_screen.c b/src/mesa/drivers/dri/i965/<wbr>intel_screen.c<br>
index 21786eb54a..8dce661864 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>intel_screen.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>intel_screen.c<br>
@@ -35,7 +35,7 @@<br>
#include "main/version.h"<br>
#include "swrast/s_renderbuffer.h"<br>
#include "util/ralloc.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "compiler/nir/nir.h"<br>
<br>
#include "utils.h"<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>intel_state.c b/src/mesa/drivers/dri/i965/<wbr>intel_state.c<br>
index 5001a49faf..7809b3b66b 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>intel_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>intel_state.c<br>
@@ -30,7 +30,7 @@<br>
<br>
#include "intel_screen.h"<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
<br>
int<br>
intel_translate_shadow_<wbr>compare_func(GLenum func)<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>intel_tex.c b/src/mesa/drivers/dri/i965/<wbr>intel_tex.c<br>
index 12a346838f..77cb2edb8d 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>intel_tex.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>intel_tex.c<br>
@@ -5,7 +5,7 @@<br>
#include "main/mipmap.h"<br>
#include "drivers/common/meta.h"<br>
#include "brw_context.h"<br>
-#include "brw_defines.h"<br>
+#include "compiler/brw_defines.h"<br>
#include "intel_buffer_objects.h"<br>
#include "intel_mipmap_tree.h"<br>
#include "intel_tex.h"<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.11.1<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div></div>