panvk: Use 1.0 in ICD Manifest json

PanVK downgraded from supporting Vulkan 1.1 to 1.0, but did not change
their ICD Manifest api_version to reflect that. This cause the Vulkan-Loader
to interpret the ICD as a 1.1 driver erroneously. Originally discussed in this
issue https://github.com/KhronosGroup/Vulkan-Loader/issues/1242

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24289>
This commit is contained in:
Charles Giessen
2023-07-21 20:28:13 +00:00
committed by Marge Bot
parent 48885c7fe3
commit f3d948eb6c

View File

@@ -145,7 +145,7 @@ panfrost_icd = custom_target(
output : 'panfrost_icd.@0@.json'.format(host_machine.cpu()),
command : [
prog_python, '@INPUT0@',
'--api-version', '1.1', '--xml', '@INPUT1@',
'--api-version', '1.0', '--xml', '@INPUT1@',
'--lib-path', join_paths(get_option('prefix'), get_option('libdir'),
'libvulkan_panfrost.so'),
'--out', '@OUTPUT@',
@@ -162,7 +162,7 @@ _dev_icd = custom_target(
output : _dev_icdname,
command : [
prog_python, '@INPUT0@',
'--api-version', '1.1', '--xml', '@INPUT1@',
'--api-version', '1.0', '--xml', '@INPUT1@',
'--lib-path', meson.current_build_dir() / 'libvulkan_panfrost.so',
'--out', '@OUTPUT@',
],