From bafcaa0c0725c690edc30a2a455353cddd42f64f Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Thu, 16 Jan 2020 19:47:04 +0100 Subject: [PATCH] [dxvk] don't try to fall back to Vulkan 1.0 Vulkan 1.1 came out in early 2018, everyone should be using a compatible driver and ICD loader these days. --- src/dxvk/dxvk_instance.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/dxvk/dxvk_instance.cpp b/src/dxvk/dxvk_instance.cpp index 66daae1f8..30e660b27 100644 --- a/src/dxvk/dxvk_instance.cpp +++ b/src/dxvk/dxvk_instance.cpp @@ -135,14 +135,8 @@ namespace dxvk { VkInstance result = VK_NULL_HANDLE; VkResult status = m_vkl->vkCreateInstance(&info, nullptr, &result); - if (status == VK_ERROR_INCOMPATIBLE_DRIVER) { - Logger::warn("Failed to create Vulkan 1.1 instance, falling back to 1.0"); - appInfo.apiVersion = 0; /* some very old drivers may not accept 1.0 */ - status = m_vkl->vkCreateInstance(&info, nullptr, &result); - } - if (status != VK_SUCCESS) - throw DxvkError("DxvkInstance::createInstance: Failed to create Vulkan instance"); + throw DxvkError("DxvkInstance::createInstance: Failed to create Vulkan 1.1 instance"); return result; }