mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 11:20:20 +01:00
meson: include VkLayer_INTEL_nullhw 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
43a47266c8
commit
6b11a53a3a
2 changed files with 13 additions and 3 deletions
|
|
@ -3,7 +3,7 @@
|
|||
"layer" : {
|
||||
"name": "VK_LAYER_INTEL_nullhw",
|
||||
"type": "GLOBAL",
|
||||
"library_path": "libVkLayer_INTEL_nullhw.so",
|
||||
"library_path": "@library_path@",
|
||||
"api_version": "1.1.73",
|
||||
"implementation_version": "1",
|
||||
"description": "INTEL NULL HW"
|
||||
|
|
@ -15,8 +15,18 @@ vklayer_intel_nullhw = shared_library(
|
|||
install : true
|
||||
)
|
||||
|
||||
install_data(
|
||||
files('VkLayer_INTEL_nullhw.json'),
|
||||
configure_file(
|
||||
configuration : {'library_path' : 'libVkLayer_INTEL_nullhw.so'},
|
||||
input : 'VkLayer_INTEL_nullhw.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_intel_nullhw.full_path()},
|
||||
input : 'VkLayer_INTEL_nullhw.json.in',
|
||||
output : '@PLAINNAME@_dev.json',
|
||||
)
|
||||
devenv.append('VK_ADD_LAYER_PATH', meson.current_build_dir())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue