intel: fix subslice computation from topology data
[mesa.git] / src / intel / dev / meson.build
index a46a4d79226b4508545d1025ed7a3a586197fb4a..0d8543b6b1cbadc022786bea0ec6c5331fc5f98f 100644 (file)
@@ -21,6 +21,8 @@
 # TODO: android?
 
 files_libintel_dev = files(
+  'gen_debug.c',
+  'gen_debug.h',
   'gen_device_info.c',
   'gen_device_info.h',
 )
@@ -31,3 +33,15 @@ libintel_dev = static_library(
   include_directories : [inc_common, inc_intel, inc_include],
   c_args : [c_vis_args, no_override_init_args],
 )
+
+if with_tests
+  test('gen_device_info_test',
+       executable(
+         'gen_device_info_test',
+         'gen_device_info_test.c',
+         include_directories : [inc_include, inc_src],
+         link_with : libintel_dev,
+       ),
+       suite : ['intel'],
+      )
+endif