From 467c562a292b4424f24381932b90bcb9869c3d73 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Tue, 1 May 2018 22:44:42 +0200 Subject: [PATCH] radv: Don't check the incoming apiVersion on CreateInstance. This fixes dEQP-VK.api.device_init.create_instance_invalid_api_version CC: 18.1 Reviewed-by: Samuel Pitoiset --- src/amd/vulkan/radv_device.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index ef32c37464a..ed1c35334ba 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -463,15 +463,6 @@ VkResult radv_CreateInstance( client_version = VK_MAKE_VERSION(1, 0, 0); } - if (VK_MAKE_VERSION(1, 0, 0) > client_version || - client_version > VK_MAKE_VERSION(1, 1, 0xfff)) { - return vk_errorf(VK_ERROR_INCOMPATIBLE_DRIVER, - "Client requested version %d.%d.%d", - VK_VERSION_MAJOR(client_version), - VK_VERSION_MINOR(client_version), - VK_VERSION_PATCH(client_version)); - } - instance = vk_zalloc2(&default_alloc, pAllocator, sizeof(*instance), 8, VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE); if (!instance) -- 2.30.2