meson: remove redundant libplacebo version check for Vulkan interop

With the bump of the required base libplacebo version, we no longer
need to do an additional check for Vulkan interop - it will always be
new enough.
This commit is contained in:
Philip Langdale 2023-08-19 21:13:02 -07:00
parent f7151932df
commit d2074fee0a
1 changed files with 2 additions and 2 deletions

View File

@ -1330,9 +1330,9 @@ endif
vulkan_interop = get_option('vulkan-interop').require(
features['vulkan'] and vulkan.version().version_compare('>=1.3.238') and
features['libplacebo'] and libplacebo.version().version_compare('>=6.278.0') and
features['libplacebo'] and
libavutil.version().version_compare('>=58.11.100'),
error_message: 'Vulkan Interop requires vulkan headers >= 1.3.238, libplacebo >= 6.278.0, and libavutil >= 58.11.100',
error_message: 'Vulkan Interop requires vulkan headers >= 1.3.238, libplacebo, and libavutil >= 58.11.100',
)
features += {'vulkan-interop': vulkan_interop.allowed()}
if vulkan_interop.allowed()