Skip to content

Commit

Permalink
Vulkan: Remove #10097 hack for newer AMD drivers.
Browse files Browse the repository at this point in the history
Fixes #10643.  Assumes affected drivers only supported 1.0 due to year 1.1
supporting drivers started coming out.
  • Loading branch information
unknownbrackets committed Jan 3, 2021
1 parent fa466d2 commit 8f2f8d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Common/GPU/Vulkan/VulkanRenderManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,9 @@ VulkanRenderManager::VulkanRenderManager(VulkanContext *vulkan) : vulkan_(vulkan

queueRunner_.CreateDeviceObjects();

// Temporary AMD hack for issue #10097
if (vulkan_->GetPhysicalDeviceProperties().properties.vendorID == VULKAN_VENDOR_AMD) {
// AMD hack for issue #10097 (older drivers only.)
const auto &props = vulkan_->GetPhysicalDeviceProperties().properties;
if (vprops.vendorID == VULKAN_VENDOR_AMD && props.apiVersion < VK_API_VERSION_1_1) {
useThread_ = false;
}
}
Expand Down

0 comments on commit 8f2f8d9

Please sign in to comment.