From 272ab2823d17173203f2f03c85c95acdcd7d1226 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 10 Aug 2020 11:09:10 -0500 Subject: [PATCH] intel/eu: Include brw_compiler.h in brw_eu.h Reviewed-by: Kenneth Graunke Part-of: --- src/intel/common/meson.build | 2 +- src/intel/compiler/brw_eu.h | 1 + src/intel/tools/meson.build | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/intel/common/meson.build b/src/intel/common/meson.build index 1c3a24e587f..52f2fe6b686 100644 --- a/src/intel/common/meson.build +++ b/src/intel/common/meson.build @@ -43,7 +43,7 @@ files_libintel_common = files( libintel_common = static_library( ['intel_common', genX_xml_h], files_libintel_common, - include_directories : [inc_include, inc_src, inc_mesa, inc_gallium, inc_intel], + include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_intel], c_args : [no_override_init_args], gnu_symbol_visibility : 'hidden', link_with : [libisl], diff --git a/src/intel/compiler/brw_eu.h b/src/intel/compiler/brw_eu.h index afb7cd537a2..7622cff8f6a 100644 --- a/src/intel/compiler/brw_eu.h +++ b/src/intel/compiler/brw_eu.h @@ -36,6 +36,7 @@ #include #include #include "brw_inst.h" +#include "brw_compiler.h" #include "brw_eu_defines.h" #include "brw_reg.h" #include "brw_disasm_info.h" diff --git a/src/intel/tools/meson.build b/src/intel/tools/meson.build index ac892677f9a..846a1df5357 100644 --- a/src/intel/tools/meson.build +++ b/src/intel/tools/meson.build @@ -55,7 +55,7 @@ i965_disasm = executable( 'i965_disasm', files('i965_disasm.c'), dependencies : [idep_mesautil, dep_thread], - include_directories : [inc_include, inc_src, inc_mesa, inc_intel], + include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_intel], link_with : [libintel_common, libintel_compiler, libintel_dev], c_args : [no_override_init_args], gnu_symbol_visibility : 'hidden', @@ -182,7 +182,7 @@ i965_asm = executable( 'i965_asm', ['i965_asm.c', i965_gram_tab[0], i965_gram_tab[1], i965_lex_yy_c], dependencies : [idep_mesautil, dep_thread], - include_directories : [inc_include, inc_src, inc_mesa, inc_intel], + include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_intel], link_with : [libintel_common, libintel_compiler, libintel_dev], c_args : [no_override_init_args], gnu_symbol_visibility : 'hidden', -- 2.30.2