[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.
This commit is contained in:
Philip Rebohle 2020-01-16 19:47:04 +01:00
parent eb37dfa8d2
commit bafcaa0c07
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
1 changed files with 1 additions and 7 deletions

View File

@ -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;
}