Eric Engestrom 2023-11-26 09:24:09 +00:00 committed by Marge Bot
parent 43a47266c8
commit 6b11a53a3a
2 changed files with 13 additions and 3 deletions

View file

@ -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"

View file

@ -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())