From: Bas Nieuwenhuizen Date: Sun, 21 Jan 2018 21:34:11 +0000 (+0100) Subject: radv: Implement vkEnumerateInstanceVersion. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b99b9cc864eeeb3d03c01a3cae4cd1ce39387c81;p=mesa.git radv: Implement vkEnumerateInstanceVersion. Reviewed-by: Dave Airlie --- 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) {