forked from ShuriZma/suyu
1
0
Fork 0

android: vulkan_device: Disable VK_EXT_custom_border_color on Adreno.

- Causes crashes on sampler creation with Super Mario Odyssey.
This commit is contained in:
bunnei 2023-04-01 16:15:57 -07:00
parent 1ea84854bd
commit b2aeb50229
1 changed files with 7 additions and 0 deletions

View File

@ -362,6 +362,13 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
CollectToolingInfo(); CollectToolingInfo();
#ifdef ANDROID #ifdef ANDROID
if (is_qualcomm || is_turnip) {
LOG_WARNING(Render_Vulkan,
"Qualcomm and Turnip drivers have broken VK_EXT_custom_border_color");
extensions.custom_border_color = false;
loaded_extensions.erase(VK_EXT_CUSTOM_BORDER_COLOR_EXTENSION_NAME);
}
if (is_qualcomm) { if (is_qualcomm) {
must_emulate_scaled_formats = true; must_emulate_scaled_formats = true;