diff options
| author | 2023-04-01 16:15:57 -0700 | |
|---|---|---|
| committer | 2023-06-03 00:05:48 -0700 | |
| commit | b2aeb50229fe06e93fbdb52e00d18e62173df2a4 (patch) | |
| tree | 93504cce0e94ae0ccac9a08ffb6f669fd72eb9d8 /src | |
| parent | android: Add toggle controls option to input overlay (diff) | |
| download | yuzu-b2aeb50229fe06e93fbdb52e00d18e62173df2a4.tar.gz yuzu-b2aeb50229fe06e93fbdb52e00d18e62173df2a4.tar.xz yuzu-b2aeb50229fe06e93fbdb52e00d18e62173df2a4.zip | |
android: vulkan_device: Disable VK_EXT_custom_border_color on Adreno.
- Causes crashes on sampler creation with Super Mario Odyssey.
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 9e2dee097..8aba29245 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp | |||
| @@ -362,6 +362,13 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR | |||
| 362 | CollectToolingInfo(); | 362 | CollectToolingInfo(); |
| 363 | 363 | ||
| 364 | #ifdef ANDROID | 364 | #ifdef ANDROID |
| 365 | if (is_qualcomm || is_turnip) { | ||
| 366 | LOG_WARNING(Render_Vulkan, | ||
| 367 | "Qualcomm and Turnip drivers have broken VK_EXT_custom_border_color"); | ||
| 368 | extensions.custom_border_color = false; | ||
| 369 | loaded_extensions.erase(VK_EXT_CUSTOM_BORDER_COLOR_EXTENSION_NAME); | ||
| 370 | } | ||
| 371 | |||
| 365 | if (is_qualcomm) { | 372 | if (is_qualcomm) { |
| 366 | must_emulate_scaled_formats = true; | 373 | must_emulate_scaled_formats = true; |
| 367 | 374 | ||