[Mesa-dev] [PATCH 13/16] radv: Implement vkEnumerateInstanceVersion.

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Wed Mar 7 14:47:41 UTC 2018


Reviewed-by: Dave Airlie <airlied at redhat.com>
---
 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 2ac1aac79e..4e6aa88d80 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.16.1



More information about the mesa-dev mailing list