radv: Add common entrypoint dependency.

To ensure we have the header. The revert likely reintroduced compilation flakiness due
to missing dependencies.

Fixes: a255f6f823 ("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>
This commit is contained in:
Bas Nieuwenhuizen 2022-01-06 21:57:28 +01:00 committed by Marge Bot
parent 63101914f8
commit 85ca7fab29
2 changed files with 5 additions and 0 deletions

View 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],

View 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