diff options
author | bunnei <bunneidev@gmail.com> | 2023-06-30 03:41:38 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-30 03:41:38 +0200 |
commit | ddcd89afd4f241890d1c8d93609df9b6e946b5ec (patch) | |
tree | a3d360a7ebbb3034dd8aa6e398897e3eb41d8521 | |
parent | video_core: vulkan_device: Fix S8Gen2 dynamic state checks. (diff) | |
download | yuzu-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 |
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 4 |
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"); |