summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatías Locatti <42481638+goldenx86@users.noreply.github.com>2023-06-29 01:10:27 +0200
committerGitHub <noreply@github.com>2023-06-29 01:10:27 +0200
commited93cbd4621c6a0c0ffaa272951e1990732df18f (patch)
treeea777b163ac1710f6116f9504840075ec827f9c0 /src
parentMerge pull request #10837 from liamwhite/mali-support (diff)
downloadyuzu-ed93cbd4621c6a0c0ffaa272951e1990732df18f.tar
yuzu-ed93cbd4621c6a0c0ffaa272951e1990732df18f.tar.gz
yuzu-ed93cbd4621c6a0c0ffaa272951e1990732df18f.tar.bz2
yuzu-ed93cbd4621c6a0c0ffaa272951e1990732df18f.tar.lz
yuzu-ed93cbd4621c6a0c0ffaa272951e1990732df18f.tar.xz
yuzu-ed93cbd4621c6a0c0ffaa272951e1990732df18f.tar.zst
yuzu-ed93cbd4621c6a0c0ffaa272951e1990732df18f.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp8
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
}
sets_per_pool = 64;
+ if (extensions.extended_dynamic_state3 && is_amd_driver &&
+ properties.properties.driverVersion >= VK_MAKE_API_VERSION(0, 2, 0, 270)) {
+ LOG_WARNING(Render_Vulkan,
+ "AMD drivers after 23.5.2 have broken extendedDynamicState3ColorBlendEquation");
+ features.extended_dynamic_state3.extendedDynamicState3ColorBlendEnable = false;
+ features.extended_dynamic_state3.extendedDynamicState3ColorBlendEquation = false;
+ dynamic_state3_blending = false;
+ }
if (is_amd_driver) {
// AMD drivers need a higher amount of Sets per Pool in certain circumstances like in XC2.
sets_per_pool = 96;