diff options
author | Billy Laws <blaws05@gmail.com> | 2023-02-18 18:43:53 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:05:31 +0200 |
commit | 26bdecbf4556d32c1aeb7fdc9044e4238b8e5905 (patch) | |
tree | 8e074256bed195ff30447118667b46b28e13e0b0 /src | |
parent | Disable multithreaded pipeline compilation on Qualcomm drivers (diff) | |
download | yuzu-26bdecbf4556d32c1aeb7fdc9044e4238b8e5905.tar yuzu-26bdecbf4556d32c1aeb7fdc9044e4238b8e5905.tar.gz yuzu-26bdecbf4556d32c1aeb7fdc9044e4238b8e5905.tar.bz2 yuzu-26bdecbf4556d32c1aeb7fdc9044e4238b8e5905.tar.lz yuzu-26bdecbf4556d32c1aeb7fdc9044e4238b8e5905.tar.xz yuzu-26bdecbf4556d32c1aeb7fdc9044e4238b8e5905.tar.zst yuzu-26bdecbf4556d32c1aeb7fdc9044e4238b8e5905.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 8847c6aa3..0e182b4a0 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -315,6 +315,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR const bool is_nvidia = driver_id == VK_DRIVER_ID_NVIDIA_PROPRIETARY; const bool is_mvk = driver_id == VK_DRIVER_ID_MOLTENVK; const bool is_adreno = driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY; + const bool is_arm = driver_id == VK_DRIVER_ID_ARM_PROPRIETARY; if ((is_mvk || is_adreno) && !is_suitable) { LOG_WARNING(Render_Vulkan, "Unsuitable driver is MoltenVK, continuing anyway"); @@ -384,6 +385,12 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR LOG_WARNING(Render_Vulkan, "Adreno driver can't be patched to enable BCn textures"); } } + + if (is_arm) { + LOG_WARNING(Render_Vulkan, "ARM drivers have broken VK_EXT_extended_dynamic_state"); + extensions.extended_dynamic_state = false; + loaded_extensions.erase(VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME); + } #endif // ANDROID if (is_nvidia) { |