meson: add missing radv_extensions.c generation for libvulkan_radeon
authorEric Engestrom <eric.engestrom@imgtec.com>
Tue, 17 Oct 2017 10:59:48 +0000 (11:59 +0100)
committerEric Engestrom <eric.engestrom@imgtec.com>
Tue, 17 Oct 2017 15:19:21 +0000 (16:19 +0100)
Fixes: 17201a2eb0b1b8538713 "radv: port to using updated anv entrypoint/extension generator."
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Andres Gomez <agomez@igalia.com>
src/amd/vulkan/meson.build

index a5a4f81352807beac92d91d8e92572fc62e5ecc5..6a416d988674504281c6aeeba898756cda69ce37 100644 (file)
@@ -26,6 +26,14 @@ radv_entrypoints = custom_target(
              '--outdir', meson.current_build_dir()],
 )
 
+radv_extensions = custom_target(
+  'radv_extensions.c',
+  input : ['radv_extensions.py', vk_api_xml],
+  output : ['radv_extensions.c'],
+  command : [prog_python2, '@INPUT0@', '--xml', '@INPUT1@',
+             '--out', '@OUTPUT@'],
+)
+
 vk_format_table_c = custom_target(
   'vk_format_table.c',
   input : ['vk_format_table.py', 'vk_format_layout.csv'],
@@ -102,7 +110,7 @@ endif
 
 libvulkan_radeon = shared_library(
   'vulkan_radeon',
-  [libradv_files, radv_entrypoints, nir_opcodes_h, vk_format_table_c],
+  [libradv_files, radv_entrypoints, radv_extensions, nir_opcodes_h, vk_format_table_c],
   include_directories : [inc_common, inc_amd, inc_amd_common, inc_compiler,
                          inc_vulkan_util, inc_vulkan_wsi],
   link_with : [libamd_common, libamdgpu_addrlib, libvulkan_util,