radv: Add common entrypoint dependency.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 6 Jan 2022 20:57:28 +0000 (21:57 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 7 Jan 2022 02:21:36 +0000 (02:21 +0000)
To ensure we have the header. The revert likely reintroduced compilation flakiness due
to missing dependencies.

Fixes: a255f6f8230 ("radv: do not use the common entrypoint for the Metro Exodus layer")
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14430>

src/amd/vulkan/meson.build
src/vulkan/runtime/meson.build

index 92d3c4b..745bb03 100644 (file)
@@ -163,6 +163,7 @@ libvulkan_radeon = shared_library(
     dep_valgrind, radv_deps, idep_aco,
     idep_mesautil, idep_nir, idep_vulkan_util, idep_vulkan_wsi,
     idep_vulkan_runtime, idep_amdgfxregs_h, idep_xmlconfig,
+    idep_vulkan_common_entrypoints_h
   ],
   c_args : [no_override_init_args, radv_flags, c_msvc_compat_args],
   cpp_args : [radv_flags, cpp_msvc_compat_args],
index 2eabf06..b2725bc 100644 (file)
@@ -145,6 +145,10 @@ idep_vulkan_runtime_headers = declare_dependency(
   include_directories : include_directories('.')
 )
 
+idep_vulkan_common_entrypoints_h = declare_dependency(
+  sources : [vk_common_entrypoints[0]]
+)
+
 # This is likely a bug in the Meson VS backend, as MSVC with ninja works fine.
 # See this discussion here:
 # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10506