Skip to content

Commit

Permalink
Merge pull request #13864 from unknownbrackets/vulkan-amd
Browse files Browse the repository at this point in the history
Vulkan: Remove #10097 hack for newer AMD drivers
  • Loading branch information
hrydgard authored Feb 15, 2021
2 parents e8ab06e + ca0763c commit 9b13220
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 (props.vendorID == VULKAN_VENDOR_AMD && props.apiVersion < VK_API_VERSION_1_1) {
useThread_ = false;
}
}
Expand Down

0 comments on commit 9b13220

Please sign in to comment.