diff options
| author | 2023-07-30 00:21:51 -0500 | |
|---|---|---|
| committer | 2023-07-30 00:21:51 -0500 | |
| commit | 36d48cef50adf1d26fe42dc4859ecae4e82a0acc (patch) | |
| tree | a4dc109e207671e780d3228fd97ad99fa9ee4c08 /src | |
| parent | Merge pull request #11155 from liamwhite/memory3 (diff) | |
| download | yuzu-36d48cef50adf1d26fe42dc4859ecae4e82a0acc.tar.gz yuzu-36d48cef50adf1d26fe42dc4859ecae4e82a0acc.tar.xz yuzu-36d48cef50adf1d26fe42dc4859ecae4e82a0acc.zip | |
Revert "Revert "Blacklist EDS3 blending from new AMD drivers""
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 9c6fbb918..e04852e01 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp | |||
| @@ -554,6 +554,14 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR | |||
| 554 | } | 554 | } |
| 555 | 555 | ||
| 556 | sets_per_pool = 64; | 556 | sets_per_pool = 64; |
| 557 | if (extensions.extended_dynamic_state3 && is_amd_driver && | ||
| 558 | properties.properties.driverVersion >= VK_MAKE_API_VERSION(0, 2, 0, 270)) { | ||
| 559 | LOG_WARNING(Render_Vulkan, | ||
| 560 | "AMD drivers after 23.5.2 have broken extendedDynamicState3ColorBlendEquation"); | ||
| 561 | features.extended_dynamic_state3.extendedDynamicState3ColorBlendEnable = false; | ||
| 562 | features.extended_dynamic_state3.extendedDynamicState3ColorBlendEquation = false; | ||
| 563 | dynamic_state3_blending = false; | ||
| 564 | } | ||
| 557 | if (is_amd_driver) { | 565 | if (is_amd_driver) { |
| 558 | // AMD drivers need a higher amount of Sets per Pool in certain circumstances like in XC2. | 566 | // AMD drivers need a higher amount of Sets per Pool in certain circumstances like in XC2. |
| 559 | sets_per_pool = 96; | 567 | sets_per_pool = 96; |