diff options
author | bunnei <bunneidev@gmail.com> | 2023-02-19 10:19:53 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:05:32 +0200 |
commit | 21320d80d90a3952dfc24284a3caa8877b6b9151 (patch) | |
tree | 6718fe1320dfcd214faadba677ea1c8f20a791a0 /src | |
parent | android: frontend: Add support for GPU driver selection. (diff) | |
download | yuzu-21320d80d90a3952dfc24284a3caa8877b6b9151.tar yuzu-21320d80d90a3952dfc24284a3caa8877b6b9151.tar.gz yuzu-21320d80d90a3952dfc24284a3caa8877b6b9151.tar.bz2 yuzu-21320d80d90a3952dfc24284a3caa8877b6b9151.tar.lz yuzu-21320d80d90a3952dfc24284a3caa8877b6b9151.tar.xz yuzu-21320d80d90a3952dfc24284a3caa8877b6b9151.tar.zst yuzu-21320d80d90a3952dfc24284a3caa8877b6b9151.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 40cdf2fde..79686a176 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -365,12 +365,12 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR if (is_qualcomm) { must_emulate_scaled_formats = true; - LOG_WARNING(Render_Vulkan, "Adreno drivers have broken VK_EXT_extended_dynamic_state"); + LOG_WARNING(Render_Vulkan, "Qualcomm drivers have broken VK_EXT_extended_dynamic_state"); extensions.extended_dynamic_state = false; loaded_extensions.erase(VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME); LOG_WARNING(Render_Vulkan, - "Adreno drivers have a slow VK_KHR_push_descriptor implementation"); + "Qualcomm drivers have a slow VK_KHR_push_descriptor implementation"); extensions.push_descriptor = false; loaded_extensions.erase(VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME); @@ -436,7 +436,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR loaded_extensions.erase(VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME); } } - if (extensions.extended_dynamic_state2 && is_radv) { + if (extensions.extended_dynamic_state2 && (is_radv || is_qualcomm)) { const u32 version = (properties.properties.driverVersion << 3) >> 3; if (version < VK_MAKE_API_VERSION(0, 22, 3, 1)) { LOG_WARNING( |