frontends/va: get libva api version from va_version.h

Signed-off-by: Thong Thai <thong.thai@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: David Rosca <david.rosca@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38773>
This commit is contained in:
Thong Thai
2025-12-02 16:28:33 +00:00
committed by Marge Bot
parent ac37885fc8
commit 4f4745ebf3
4 changed files with 3 additions and 5 deletions
-2
View File
@@ -1,8 +1,6 @@
# Copyright © 2017-2019 Intel Corporation
# SPDX-License-Identifier: MIT
libva_version = dep_va.version().split('.')
libva_st = static_library(
'va_st',
files(
+1 -2
View File
@@ -34,10 +34,9 @@ devenv.set('LIBVA_DRIVERS_PATH', meson.current_build_dir())
if host_machine.system() == 'windows'
link_with_libva_gallium += [libwsgdi]
libva_init_version = dep_va.version().split('.')
vaon12_def_input = configure_file(
configuration: {
'__vaDriverInit_X_Y': '__vaDriverInit_@0@_@1@'.format(libva_init_version[0], libva_init_version[1]) + '@4'
'__vaDriverInit_X_Y': '__vaDriverInit_@0@_@1@'.format(libva_version[0], libva_version[1]) + '@4'
},
input: 'vaon12.def.in',
output: 'vaon12.def.in',