mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 18:50:10 +01:00
meson: include VkLayer_MESA_overlay 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/35650>
This commit is contained in:
parent
294d8ce80a
commit
413dbcdf79
2 changed files with 13 additions and 3 deletions
|
|
@ -3,7 +3,7 @@
|
|||
"layer" : {
|
||||
"name": "VK_LAYER_MESA_overlay",
|
||||
"type": "GLOBAL",
|
||||
"library_path": "libVkLayer_MESA_overlay.so",
|
||||
"library_path": "@library_path@",
|
||||
"api_version": "1.4.303",
|
||||
"implementation_version": "1",
|
||||
"description": "Mesa Overlay layer"
|
||||
|
|
@ -36,12 +36,22 @@ vklayer_mesa_overlay = shared_library(
|
|||
install : true
|
||||
)
|
||||
|
||||
install_data(
|
||||
files('VkLayer_MESA_overlay.json'),
|
||||
configure_file(
|
||||
configuration : {'library_path' : 'libVkLayer_MESA_overlay.so'},
|
||||
input : 'VkLayer_MESA_overlay.json.in',
|
||||
output : '@BASENAME@',
|
||||
install : true,
|
||||
install_dir : join_paths(get_option('datadir'), 'vulkan', 'explicit_layer.d'),
|
||||
install_tag : 'runtime',
|
||||
)
|
||||
|
||||
configure_file(
|
||||
configuration : {'library_path' : vklayer_mesa_overlay.full_path()},
|
||||
input : 'VkLayer_MESA_overlay.json.in',
|
||||
output : '@PLAINNAME@_dev.json',
|
||||
)
|
||||
devenv.append('VK_ADD_LAYER_PATH', meson.current_build_dir())
|
||||
|
||||
install_data(
|
||||
'mesa-overlay-control.py',
|
||||
install_dir : get_option('bindir'),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue