mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Merge pull request #13864 from unknownbrackets/vulkan-amd
Vulkan: Remove #10097 hack for newer AMD drivers
This commit is contained in:
commit
9b13220f49
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue