summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-08-02 02:41:24 +0200
committerLiam <byteslice@airmail.cc>2023-08-02 02:46:05 +0200
commitd6d43e11a37275b58f8ca9510399ff0303c86e84 (patch)
tree61ff93ea8bd6e1ef43fafb4f2eaf13f5da77c79d /src/video_core/vulkan_common
parentUpdate translations (2023-08-01) (#11198) (diff)
downloadyuzu-d6d43e11a37275b58f8ca9510399ff0303c86e84.tar
yuzu-d6d43e11a37275b58f8ca9510399ff0303c86e84.tar.gz
yuzu-d6d43e11a37275b58f8ca9510399ff0303c86e84.tar.bz2
yuzu-d6d43e11a37275b58f8ca9510399ff0303c86e84.tar.lz
yuzu-d6d43e11a37275b58f8ca9510399ff0303c86e84.tar.xz
yuzu-d6d43e11a37275b58f8ca9510399ff0303c86e84.tar.zst
yuzu-d6d43e11a37275b58f8ca9510399ff0303c86e84.zip
Diffstat (limited to 'src/video_core/vulkan_common')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp
index 09b95cc3f..bd67e27ed 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -525,6 +525,13 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
dynamic_state3_enables = false;
}
}
+ if (extensions.extended_dynamic_state3 && is_amd_driver) {
+ LOG_WARNING(Render_Vulkan,
+ "AMD drivers have 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
@@ -553,14 +560,6 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
}
sets_per_pool = 64;
- if (extensions.extended_dynamic_state3 && is_amd_driver &&
- !features.shader_float16_int8.shaderFloat16 &&
- properties.properties.driverVersion >= VK_MAKE_API_VERSION(0, 2, 0, 258)) {
- LOG_WARNING(Render_Vulkan, "AMD GCN4 has 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;