intel/eu: Include brw_compiler.h in brw_eu.h
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 10 Aug 2020 16:09:10 +0000 (11:09 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 2 Sep 2020 19:48:44 +0000 (19:48 +0000)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6244>

src/intel/common/meson.build
src/intel/compiler/brw_eu.h
src/intel/tools/meson.build

index 1c3a24e587f34b9cbb9a030229f8fb8887928abf..52f2fe6b6862984d27fd664439c5815b2d6e948e 100644 (file)
@@ -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],
index afb7cd537a235d9fa521b7f24fe5324d328e43b4..7622cff8f6a2424a679c2147863f8daf2ad7370d 100644 (file)
@@ -36,6 +36,7 @@
 #include <stdbool.h>
 #include <stdio.h>
 #include "brw_inst.h"
+#include "brw_compiler.h"
 #include "brw_eu_defines.h"
 #include "brw_reg.h"
 #include "brw_disasm_info.h"
index ac892677f9a4623f09d7d65d26e753bb9bb6ed73..846a1df5357f08ef5c3f43601703d84b0519579a 100644 (file)
@@ -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',