From ffa15861ef7c924a33e1f2e75982c7648059979a Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Tue, 1 May 2018 22:46:41 +0200 Subject: radv: UseEnumerateInstanceVersion for the default version. Reviewed-by: Samuel Pitoiset --- src/amd/vulkan/radv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index ed1c35334ba..9fe415c4e05 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -460,7 +460,7 @@ VkResult radv_CreateInstance( pCreateInfo->pApplicationInfo->apiVersion != 0) { client_version = pCreateInfo->pApplicationInfo->apiVersion; } else { - client_version = VK_MAKE_VERSION(1, 0, 0); + radv_EnumerateInstanceVersion(&client_version); } instance = vk_zalloc2(&default_alloc, pAllocator, sizeof(*instance), 8, -- cgit v1.2.3