)
foreach g : [['70', ['gen7_cmd_buffer.c']], ['75', ['gen7_cmd_buffer.c']],
['80', ['gen8_cmd_buffer.c']], ['90', ['gen8_cmd_buffer.c']],
- ['100', ['gen8_cmd_buffer.c']], ['110', ['gen8_cmd_buffer.c']]]
+ ['100', ['gen8_cmd_buffer.c']], ['110', ['gen8_cmd_buffer.c']],
+ ['120', ['gen8_cmd_buffer.c']]]
_gen = g[0]
libanv_gen_libs += static_library(
'anv_gen@0@'.format(_gen),
],
include_directories : [
inc_common, inc_intel, inc_compiler, inc_include,
- inc_vulkan_wsi,
+ inc_vulkan_wsi, inc_util,
],
c_args : anv_flags,
dependencies : anv_deps,
],
dependencies : [
dep_thread, dep_dl, dep_m, anv_deps, idep_libintel_common,
- idep_nir, idep_genxml, idep_vulkan_util, idep_mesautil,
+ idep_nir, idep_genxml, idep_vulkan_util, idep_mesautil, idep_xmlconfig,
],
c_args : anv_flags,
link_args : ['-Wl,--build-id=sha1', ld_args_bsymbolic, ld_args_gc_sections],
install : true,
)
+if with_tests and prog_nm.found()
+ test(
+ 'anv symbols check',
+ symbols_check,
+ args : [
+ '--lib', libvulkan_intel,
+ '--symbols-file', vulkan_icd_symbols,
+ '--nm', prog_nm.path(),
+ ],
+ suite : ['intel'],
+ )
+endif
+
if with_tests
libvulkan_intel_test = static_library(
'vulkan_intel_test',