lavapipe: Use the correct ICD path on Win32
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16612>
This commit is contained in:

committed by
Marge Bot

parent
27314718a3
commit
c6cddd2e17
@@ -21,16 +21,21 @@ if with_platform_windows
|
|||||||
icd_file_name = 'vulkan_lvp.dll'
|
icd_file_name = 'vulkan_lvp.dll'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
icd_command = [
|
||||||
|
prog_python, '@INPUT0@',
|
||||||
|
'--api-version', '1.1', '--xml', '@INPUT1@',
|
||||||
|
'--lib-path', join_paths(module_dir, icd_file_name),
|
||||||
|
'--out', '@OUTPUT@',
|
||||||
|
]
|
||||||
|
if with_platform_windows
|
||||||
|
icd_command += '--use-backslash'
|
||||||
|
endif
|
||||||
|
|
||||||
lvp_icd = custom_target(
|
lvp_icd = custom_target(
|
||||||
'lvp_icd',
|
'lvp_icd',
|
||||||
input : [vk_icd_gen, vk_api_xml],
|
input : [vk_icd_gen, vk_api_xml],
|
||||||
output : 'lvp_icd.@0@.json'.format(host_machine.cpu()),
|
output : 'lvp_icd.@0@.json'.format(host_machine.cpu()),
|
||||||
command : [
|
command : icd_command,
|
||||||
prog_python, '@INPUT0@',
|
|
||||||
'--api-version', '1.1', '--xml', '@INPUT1@',
|
|
||||||
'--lib-path', join_paths(module_dir, icd_file_name),
|
|
||||||
'--out', '@OUTPUT@',
|
|
||||||
],
|
|
||||||
build_by_default : true,
|
build_by_default : true,
|
||||||
install_dir : with_vulkan_icd_dir,
|
install_dir : with_vulkan_icd_dir,
|
||||||
install : true,
|
install : true,
|
||||||
|
Reference in New Issue
Block a user