diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-08-29 22:45:17 +0200 |
|---|---|---|
| committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-09-13 23:09:18 +0200 |
| commit | e7ca37b1e5d6dd62870c7b7c953598ad7785c9f9 (patch) | |
| tree | 8b3b8634c7b6910acdd2bc1363b4770dba2f1397 /src/video_core/vulkan_common/vulkan_device.cpp | |
| parent | c20ea8939032a7141f22607ad16b8aad5e7a3251 (diff) | |
Vulkan/Descriptors: Increase sets per pool on AMFD propietary driver.
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.cpp')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 86ca4be54..5662a7bdc 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -599,6 +599,12 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR graphics_queue = logical.GetQueue(graphics_family); present_queue = logical.GetQueue(present_family); + + sets_per_pool = 64; + if (driver_id == VK_DRIVER_ID_AMD_PROPRIETARY || driver_id == VK_DRIVER_ID_AMD_OPEN_SOURCE) { + // AMD drivers need a higher amount of Sets per Pool in certain circunstances like in XC2. + sets_per_pool = 96; + } } Device::~Device() = default; |
