vulkan: properly ensure wsi_entrypoints header gen order

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28066>
This commit is contained in:
Yiwei Zhang 2024-03-07 17:48:53 -08:00 committed by Marge Bot
parent 872c9fabeb
commit 90824e07a2
3 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ libv3dv_files = files(
'v3dv_queue.c',
'v3dv_uniforms.c',
'v3dv_wsi.c',
) + [v3d_xml_pack, vk_common_entrypoints[0], wsi_entrypoints[0]]
) + [v3d_xml_pack, vk_common_entrypoints[0]]
files_per_version = files(
'v3dvx_cmd_buffer.c',

View file

@ -90,7 +90,6 @@ vn_libs = []
if with_platform_wayland or with_platform_x11
libvn_files += files('vn_wsi.c')
libvn_files += wsi_entrypoints[0]
vn_flags += '-DVN_USE_WSI_PLATFORM'
endif

View file

@ -76,6 +76,7 @@ libvulkan_wsi = static_library(
)
idep_vulkan_wsi_headers = declare_dependency(
sources : wsi_entrypoints[0],
dependencies : idep_vulkan_wsi_defines,
include_directories : include_directories('.')
)