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

View file

@ -362,6 +362,13 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
CollectToolingInfo();
#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) {
must_emulate_scaled_formats = true;