pvr: report vulkan 1.4 to the loader

These bits aren't about the API version supported, but the version of
the loader interface supported. We support Vulkan 1.4 in that regard,
so let's report that.

Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Reviewed-by: Simon Perretta <simon.perretta@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37556>
This commit is contained in:
Erik Faye-Lund 2025-09-24 23:38:40 +02:00 committed by Marge Bot
parent adcd8411df
commit c5fc1f3e90
2 changed files with 3 additions and 3 deletions

View file

@ -142,7 +142,7 @@ powervr_mesa_icd = custom_target(
output : 'powervr_mesa_icd.@0@.json'.format(host_machine.cpu()),
command : [
prog_python, '@INPUT0@',
'--api-version', '1.0', '--xml', '@INPUT1@',
'--api-version', '1.4', '--xml', '@INPUT1@',
'--sizeof-pointer', sizeof_pointer,
'--lib-path', get_option('prefix') / get_option('libdir') / 'libvulkan_powervr_mesa.so',
'--out', '@OUTPUT@',
@ -159,7 +159,7 @@ _dev_icd = custom_target(
output : 'powervr_mesa_devenv_icd.@0@.json'.format(host_machine.cpu()),
command : [
prog_python, '@INPUT0@',
'--api-version', '1.0', '--xml', '@INPUT1@',
'--api-version', '1.4', '--xml', '@INPUT1@',
'--sizeof-pointer', sizeof_pointer,
'--lib-path', meson.current_build_dir() / 'libvulkan_powervr_mesa.so',
'--out', '@OUTPUT@',

View file

@ -647,7 +647,7 @@ static bool pvr_physical_device_get_properties(
VkResult pvr_EnumerateInstanceVersion(uint32_t *pApiVersion)
{
*pApiVersion = PVR_API_VERSION;
*pApiVersion = VK_MAKE_API_VERSION(0, 1, 4, VK_HEADER_VERSION);
return VK_SUCCESS;
}