meson: add VK_DRIVER_FILES to devenv, alongside the old VK_ICD_FILENAMES

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28516>
This commit is contained in:
Eric Engestrom 2024-04-01 13:30:18 +01:00 committed by Marge Bot
parent 364ef85a8e
commit ff37f68740
11 changed files with 22 additions and 0 deletions

View File

@ -289,6 +289,8 @@ _dev_icd = custom_target(
build_by_default : true,
)
devenv.append('VK_DRIVER_FILES', _dev_icd.full_path())
# Deprecated: replaced by VK_DRIVER_FILES above
devenv.append('VK_ICD_FILENAMES', _dev_icd.full_path())
if with_tests

View File

@ -183,4 +183,6 @@ _dev_icd = custom_target(
build_by_default : true,
)
devenv.append('VK_DRIVER_FILES', _dev_icd.full_path())
# Deprecated: replaced by VK_DRIVER_FILES above
devenv.append('VK_ICD_FILENAMES', _dev_icd.full_path())

View File

@ -228,4 +228,6 @@ _dev_icd = custom_target(
build_by_default : true,
)
devenv.append('VK_DRIVER_FILES', _dev_icd.full_path())
# Deprecated: replaced by VK_DRIVER_FILES above
devenv.append('VK_ICD_FILENAMES', _dev_icd.full_path())

View File

@ -56,4 +56,6 @@ _dev_icd = custom_target(
build_by_default : true,
)
devenv.append('VK_DRIVER_FILES', _dev_icd.full_path())
# Deprecated: replaced by VK_DRIVER_FILES above
devenv.append('VK_ICD_FILENAMES', _dev_icd.full_path())

View File

@ -186,4 +186,6 @@ _dev_icd = custom_target(
build_by_default : true,
)
devenv.append('VK_DRIVER_FILES', _dev_icd.full_path())
# Deprecated: replaced by VK_DRIVER_FILES above
devenv.append('VK_ICD_FILENAMES', _dev_icd.full_path())

View File

@ -94,6 +94,8 @@ _dev_icd = custom_target(
build_by_default : true,
)
devenv.append('VK_DRIVER_FILES', _dev_icd.full_path())
# Deprecated: replaced by VK_DRIVER_FILES above
devenv.append('VK_ICD_FILENAMES', _dev_icd.full_path())
libanv_per_hw_ver_libs = []

View File

@ -64,6 +64,8 @@ _dev_icd = custom_target(
build_by_default : true,
)
devenv.append('VK_DRIVER_FILES', _dev_icd.full_path())
# Deprecated: replaced by VK_DRIVER_FILES above
devenv.append('VK_ICD_FILENAMES', _dev_icd.full_path())
libanv_per_hw_ver_libs = []

View File

@ -138,4 +138,6 @@ _dev_icd = custom_target(
build_by_default : true,
)
devenv.append('VK_DRIVER_FILES', _dev_icd.full_path())
# Deprecated: replaced by VK_DRIVER_FILES above
devenv.append('VK_ICD_FILENAMES', _dev_icd.full_path())

View File

@ -148,6 +148,8 @@ custom_target(
build_by_default : true,
)
devenv.append('VK_DRIVER_FILES', meson.current_build_dir() / _dev_icdname)
# Deprecated: replaced by VK_DRIVER_FILES above
devenv.append('VK_ICD_FILENAMES', meson.current_build_dir() / _dev_icdname)
if with_tests and not with_platform_android

View File

@ -171,4 +171,6 @@ _dev_icd = custom_target(
build_by_default : true,
)
devenv.append('VK_DRIVER_FILES', _dev_icd.full_path())
# Deprecated: replaced by VK_DRIVER_FILES above
devenv.append('VK_ICD_FILENAMES', _dev_icd.full_path())

View File

@ -46,6 +46,8 @@ _dev_icd = custom_target(
build_by_default : true,
)
devenv.append('VK_DRIVER_FILES', _dev_icd.full_path())
# Deprecated: replaced by VK_DRIVER_FILES above
devenv.append('VK_ICD_FILENAMES', _dev_icd.full_path())
libvn_files = files(