mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
meson: include VkLayer_MESA_anti_lag in the devenv
See https://github.com/KhronosGroup/Vulkan-Loader/blob/main/docs/LoaderLayerInterface.md#linux-layer-discovery Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36346>
This commit is contained in:
parent
55d5c3dd8f
commit
fdcad6e547
2 changed files with 15 additions and 5 deletions
|
|
@ -3,7 +3,7 @@
|
|||
"layer": {
|
||||
"name": "VK_LAYER_MESA_anti_lag",
|
||||
"type": "GLOBAL",
|
||||
"library_path": "libVkLayer_MESA_anti_lag.so",
|
||||
"library_path": "@library_path@",
|
||||
"api_version": "1.4.303",
|
||||
"implementation_version": "1",
|
||||
"description": "Open-source implementation of the VK_AMD_anti_lag extension.",
|
||||
|
|
@ -23,4 +23,4 @@
|
|||
"DISABLE_LAYER_MESA_ANTI_LAG": "1"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6,7 +6,7 @@ vklayer_files = files(
|
|||
'anti_lag_layer_interface.c',
|
||||
)
|
||||
|
||||
shared_library(
|
||||
vklayer_mesa_anti_lag = shared_library(
|
||||
'VkLayer_MESA_anti_lag',
|
||||
vklayer_files,
|
||||
c_args : [no_override_init_args],
|
||||
|
|
@ -19,8 +19,18 @@ shared_library(
|
|||
install : true
|
||||
)
|
||||
|
||||
install_data(
|
||||
files('VkLayer_MESA_anti_lag.json'),
|
||||
configure_file(
|
||||
configuration : {'library_path' : 'libVkLayer_MESA_anti_lag.so'},
|
||||
input : 'VkLayer_MESA_anti_lag.json.in',
|
||||
output : '@BASENAME@',
|
||||
install : true,
|
||||
install_dir : join_paths(get_option('datadir'), 'vulkan', 'implicit_layer.d'),
|
||||
install_tag : 'runtime',
|
||||
)
|
||||
|
||||
configure_file(
|
||||
configuration : {'library_path' : vklayer_mesa_anti_lag.full_path()},
|
||||
input : 'VkLayer_MESA_anti_lag.json.in',
|
||||
output : '@PLAINNAME@_dev.json',
|
||||
)
|
||||
devenv.append('VK_ADD_IMPLICIT_LAYER_PATH', meson.current_build_dir())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue