summaryrefslogtreecommitdiffstats
path: root/src/vulkan
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-09-29 17:53:01 -0700
committerDylan Baker <[email protected]>2017-10-16 16:32:43 -0700
commit50c28dfa813e82492dc1e6fcd7b2ec49d501cefc (patch)
tree4f58e2dd9a986cabf564c9cb2f3c97d0c0df114e /src/vulkan
parentb1b65397d0c4978e36a84c0a1c98a4bd6cb9588e (diff)
meson: split and simplify dependencies
Rather than group dependencies in complex groups, use a flatter structure with split dependencies to avoid checking for the same dependencies twice. v2: - Fix building vulkan drivers without gallium or dri drivers v3: - Drop TODO comment that is done - Fix typo in commit message Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/vulkan')
-rw-r--r--src/vulkan/wsi/meson.build10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/vulkan/wsi/meson.build b/src/vulkan/wsi/meson.build
index 517f50f2158..c42af8e4cde 100644
--- a/src/vulkan/wsi/meson.build
+++ b/src/vulkan/wsi/meson.build
@@ -41,7 +41,15 @@ files_vulkan_wsi = files(
)
if with_platform_x11
vulkan_wsi_args += ['-DVK_USE_PLATFORM_XCB_KHR', '-DVK_USE_PLATFORM_XLIB_KHR']
- vulkan_wsi_deps += dep_xcb_dri3
+ vulkan_wsi_deps += [
+ dep_xcb,
+ dep_x11_xcb,
+ dep_xcb_dri2,
+ dep_xcb_dri3,
+ dep_xcb_present,
+ dep_xcb_sync,
+ dep_xshmfence,
+ ]
files_vulkan_wsi += files(
'wsi_common_x11.c',
'wsi_common_x11.h',