summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-06-30 03:41:38 +0200
committerbunnei <bunneidev@gmail.com>2023-06-30 03:41:38 +0200
commitddcd89afd4f241890d1c8d93609df9b6e946b5ec (patch)
treea3d360a7ebbb3034dd8aa6e398897e3eb41d8521 /src/video_core
parentvideo_core: vulkan_device: Fix S8Gen2 dynamic state checks. (diff)
downloadyuzu-ddcd89afd4f241890d1c8d93609df9b6e946b5ec.tar
yuzu-ddcd89afd4f241890d1c8d93609df9b6e946b5ec.tar.gz
yuzu-ddcd89afd4f241890d1c8d93609df9b6e946b5ec.tar.bz2
yuzu-ddcd89afd4f241890d1c8d93609df9b6e946b5ec.tar.lz
yuzu-ddcd89afd4f241890d1c8d93609df9b6e946b5ec.tar.xz
yuzu-ddcd89afd4f241890d1c8d93609df9b6e946b5ec.tar.zst
yuzu-ddcd89afd4f241890d1c8d93609df9b6e946b5ec.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp
index 3ec6058a8..9ee837c68 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -498,7 +498,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
loaded_extensions.erase(VK_EXT_EXTENDED_DYNAMIC_STATE_2_EXTENSION_NAME);
}
}
- if (extensions.extended_dynamic_state2 && is_s8gen2) {
+ if (extensions.extended_dynamic_state2 && is_qualcomm && is_s8gen2) {
// Qualcomm S8gen2 drivers do not properly support extended_dynamic_state2.
LOG_WARNING(Render_Vulkan, "Qualcomm drivers have broken VK_EXT_extended_dynamic_state2");
features.extended_dynamic_state2.extendedDynamicState2 = false;
@@ -534,7 +534,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
loaded_extensions.erase(VK_EXT_VERTEX_INPUT_DYNAMIC_STATE_EXTENSION_NAME);
}
}
- if (extensions.vertex_input_dynamic_state && is_s8gen2) {
+ if (extensions.vertex_input_dynamic_state && is_qualcomm && is_s8gen2) {
// Qualcomm S8gen2 drivers do not properly support vertex_input_dynamic_state.
LOG_WARNING(Render_Vulkan,
"Qualcomm drivers have broken VK_EXT_vertex_input_dynamic_state");