diff options
author | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2023-02-08 09:34:34 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-02-15 18:35:14 +0000 |
commit | 29ffc7941042d697ca687be3ab408f18822301a4 (patch) | |
tree | 8dc5dbd4a15f68a49ed8a1c8ab1097f95f61fb3b /src/glx | |
parent | 7ea85871fe7551d933948155b477a10a00548d8a (diff) | |
download | mesa-29ffc7941042d697ca687be3ab408f18822301a4.tar.gz |
meson: don't pass vk wsi args where they don't belong
Only code that cares about Vulkan WSI should get the corresponding
arguments passed. Otherwise, the Vulkan headers might end up including
other headers that we don't have the correct dependencies passed for.
So let's give those a dedicated variable, and only pass that where it's
actually needed.
Fixes: b39958a3a18 ("anv,nir: Move the ANV YCbCr lowering pass to common code")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8193
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21185>
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/meson.build b/src/glx/meson.build index 20f04742894..60ae7d436fc 100644 --- a/src/glx/meson.build +++ b/src/glx/meson.build @@ -128,6 +128,7 @@ libglx = static_library( include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_glapi, inc_loader], c_args : [ '-DGL_LIB_NAME="lib@0@.so.@1@"'.format(gl_lib_name, gl_lib_version.split('.')[0]), + vk_wsi_args ], gnu_symbol_visibility : 'hidden', link_with : [ |