diff options
| author | 2023-06-29 10:01:11 -0400 | |
|---|---|---|
| committer | 2023-06-29 10:01:11 -0400 | |
| commit | 7de778ad39c761eddf8a40094dae61aa125b5c38 (patch) | |
| tree | 6b33e73d1049caf99e434a676a4c8d5bb78466d9 /src | |
| parent | Merge pull request #10945 from t895/android-14 (diff) | |
| parent | Blacklist EDS3 blending from new AMD drivers (diff) | |
| download | yuzu-7de778ad39c761eddf8a40094dae61aa125b5c38.tar.gz yuzu-7de778ad39c761eddf8a40094dae61aa125b5c38.tar.xz yuzu-7de778ad39c761eddf8a40094dae61aa125b5c38.zip | |
Merge pull request #10946 from goldenx86/amdBlending
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 70436cf1c..421e71e5a 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp | |||
| @@ -528,6 +528,14 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR | |||
| 528 | } | 528 | } |
| 529 | 529 | ||
| 530 | sets_per_pool = 64; | 530 | sets_per_pool = 64; |
| 531 | if (extensions.extended_dynamic_state3 && is_amd_driver && | ||
| 532 | properties.properties.driverVersion >= VK_MAKE_API_VERSION(0, 2, 0, 270)) { | ||
| 533 | LOG_WARNING(Render_Vulkan, | ||
| 534 | "AMD drivers after 23.5.2 have broken extendedDynamicState3ColorBlendEquation"); | ||
| 535 | features.extended_dynamic_state3.extendedDynamicState3ColorBlendEnable = false; | ||
| 536 | features.extended_dynamic_state3.extendedDynamicState3ColorBlendEquation = false; | ||
| 537 | dynamic_state3_blending = false; | ||
| 538 | } | ||
| 531 | if (is_amd_driver) { | 539 | if (is_amd_driver) { |
| 532 | // AMD drivers need a higher amount of Sets per Pool in certain circumstances like in XC2. | 540 | // AMD drivers need a higher amount of Sets per Pool in certain circumstances like in XC2. |
| 533 | sets_per_pool = 96; | 541 | sets_per_pool = 96; |