From b99b9cc864eeeb3d03c01a3cae4cd1ce39387c81 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Sun, 21 Jan 2018 22:34:11 +0100 Subject: [PATCH] radv: Implement vkEnumerateInstanceVersion. Reviewed-by: Dave Airlie --- src/amd/vulkan/radv_extensions.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/amd/vulkan/radv_extensions.py b/src/amd/vulkan/radv_extensions.py index 05587e2e73e..f59f5e30e78 100644 --- a/src/amd/vulkan/radv_extensions.py +++ b/src/amd/vulkan/radv_extensions.py @@ -262,6 +262,13 @@ void radv_fill_device_extension_table(const struct radv_physical_device *device, %endfor } +VkResult radv_EnumerateInstanceVersion( + uint32_t* pApiVersion) +{ + *pApiVersion = ${MAX_API_VERSION.c_vk_version()}; + return VK_SUCCESS; +} + uint32_t radv_physical_device_api_version(struct radv_physical_device *dev) { -- 2.30.2