Module: Mesa
Branch: master
Commit: b99b9cc864eeeb3d03c01a3cae4cd1ce39387c81
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b99b9cc864eeeb3d03c01a3cae4cd1ce39387c81

Author: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl>
Date:   Sun Jan 21 22:34:11 2018 +0100

radv: Implement vkEnumerateInstanceVersion.

Reviewed-by: Dave Airlie <airl...@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 05587e2e73..f59f5e30e7 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)
 {

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to