v3dv: expose Vulkan 1.2

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17786>
This commit is contained in:
Iago Toral Quiroga 2022-05-11 12:35:08 +02:00 committed by Marge Bot
parent 46d43b1ca1
commit 97708505d7
2 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ broadcom_icd = custom_target(
output : 'broadcom_icd.@0@.json'.format(host_machine.cpu()),
command : [
prog_python, '@INPUT0@',
'--api-version', '1.1', '--xml', '@INPUT1@',
'--api-version', '1.2', '--xml', '@INPUT1@',
'--lib-path', join_paths(get_option('prefix'), get_option('libdir'),
'libvulkan_broadcom.so'),
'--out', '@OUTPUT@',

View File

@ -63,7 +63,7 @@
#include "wayland-drm-client-protocol.h"
#endif
#define V3DV_API_VERSION VK_MAKE_VERSION(1, 1, VK_HEADER_VERSION)
#define V3DV_API_VERSION VK_MAKE_VERSION(1, 2, VK_HEADER_VERSION)
VKAPI_ATTR VkResult VKAPI_CALL
v3dv_EnumerateInstanceVersion(uint32_t *pApiVersion)