summaryrefslogtreecommitdiff
path: root/lib/mesa/src/vulkan/util
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-01-22 02:13:18 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-01-22 02:13:18 +0000
commitfdcc03929065b5bf5dd93553db219ea3e05c8c34 (patch)
treeca90dc8d9e89febdcd4160956c1b8ec098a4efc9 /lib/mesa/src/vulkan/util
parent3c9de4a7e13712b5696750bbd59a18c848742022 (diff)
Import Mesa 19.2.8
Diffstat (limited to 'lib/mesa/src/vulkan/util')
-rw-r--r--lib/mesa/src/vulkan/util/meson.build13
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/mesa/src/vulkan/util/meson.build b/lib/mesa/src/vulkan/util/meson.build
index e869056ac..9153878ea 100644
--- a/lib/mesa/src/vulkan/util/meson.build
+++ b/lib/mesa/src/vulkan/util/meson.build
@@ -28,19 +28,20 @@ files_vulkan_util = files(
vk_enum_to_str = custom_target(
'vk_enum_to_str',
- input : ['gen_enum_to_str.py', vk_api_xml[0]],
+ input : ['gen_enum_to_str.py', vk_api_xml],
output : ['vk_enum_to_str.c', 'vk_enum_to_str.h'],
command : [
- prog_python, '@INPUT0@', '--xml', '@INPUT1@', '--outdir',
- meson.current_build_dir()
+ prog_python, '@INPUT0@', '--xml', '@INPUT1@',
+ '--outdir', meson.current_build_dir()
],
)
libvulkan_util = static_library(
'vulkan_util',
[files_vulkan_util, vk_enum_to_str],
- include_directories : [inc_common, inc_vulkan],
- c_args : [c_vis_args],
+ include_directories : inc_common,
+ dependencies : vulkan_wsi_deps,
+ c_args : [c_vis_args, vulkan_wsi_args],
build_by_default : false,
)
@@ -50,8 +51,6 @@ idep_vulkan_util_headers = declare_dependency(
)
idep_vulkan_util = declare_dependency(
- sources : vk_enum_to_str[1],
link_with : libvulkan_util,
- include_directories : include_directories('.'),
dependencies : idep_vulkan_util_headers
)