summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-03-15 20:55:07 +0100
committerLiam <byteslice@airmail.cc>2023-03-15 20:55:07 +0100
commitda83afdeaf360e5a4ecdfafcab3f209ebf7038f1 (patch)
treea6f5d2d724d7ba730620b1dc2977fadba85d55a9
parentMerge pull request #9933 from vonchenplus/texture_format (diff)
downloadyuzu-da83afdeaf360e5a4ecdfafcab3f209ebf7038f1.tar
yuzu-da83afdeaf360e5a4ecdfafcab3f209ebf7038f1.tar.gz
yuzu-da83afdeaf360e5a4ecdfafcab3f209ebf7038f1.tar.bz2
yuzu-da83afdeaf360e5a4ecdfafcab3f209ebf7038f1.tar.lz
yuzu-da83afdeaf360e5a4ecdfafcab3f209ebf7038f1.tar.xz
yuzu-da83afdeaf360e5a4ecdfafcab3f209ebf7038f1.tar.zst
yuzu-da83afdeaf360e5a4ecdfafcab3f209ebf7038f1.zip
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp6
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 df348af55..6f288b3f8 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -401,6 +401,12 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
loaded_extensions.erase(VK_EXT_EXTENDED_DYNAMIC_STATE_2_EXTENSION_NAME);
}
}
+ if (extensions.extended_dynamic_state3 && is_radv) {
+ LOG_WARNING(Render_Vulkan, "RADV has broken extendedDynamicState3ColorBlendEquation");
+ features.extended_dynamic_state3.extendedDynamicState3ColorBlendEnable = false;
+ features.extended_dynamic_state3.extendedDynamicState3ColorBlendEquation = false;
+ dynamic_state3_blending = false;
+ }
if (extensions.vertex_input_dynamic_state && is_radv) {
// TODO(ameerj): Blacklist only offending driver versions
// TODO(ameerj): Confirm if RDNA1 is affected