aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2018-01-21 22:34:11 +0100
committerBas Nieuwenhuizen <[email protected]>2018-03-07 21:18:35 +0100
commitb99b9cc864eeeb3d03c01a3cae4cd1ce39387c81 (patch)
treebeec4f0b74ae60575d42ea5b89c338e48e42e907 /src
parent5240fddb9dacbab57ba6a35e20b40b1c81ff71eb (diff)
radv: Implement vkEnumerateInstanceVersion.
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/amd/vulkan/radv_extensions.py7
1 files changed, 7 insertions, 0 deletions
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)
{