Browse Source
[vk, qcom] Remove VK_EXT_CUSTOM_BORDER_COLOR
eds-true-adreno-fixes
CamilleLaVey
4 weeks ago
committed by
Caio Oliveira
No known key found for this signature in database
GPG Key ID: AAAE6C7FD4186B0C
1 changed files with
12 additions and
0 deletions
-
src/video_core/vulkan_common/vulkan_device.cpp
|
|
|
@ -1146,6 +1146,18 @@ bool Device::GetSuitability(bool requires_swapchain) { |
|
|
|
driver_id == VK_DRIVER_ID_AMD_PROPRIETARY || driver_id == VK_DRIVER_ID_AMD_OPEN_SOURCE; |
|
|
|
const bool is_intel_windows = driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS; |
|
|
|
[[maybe_unused]] const bool is_qualcomm = driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY; |
|
|
|
const bool is_turnip = driver_id == VK_DRIVER_ID_MESA_TURNIP; |
|
|
|
|
|
|
|
// VK_EXT_CUSTOM_BORDER_COLOR
|
|
|
|
|
|
|
|
if (extensions.custom_border_color && (is_qualcomm || is_turnip)) { |
|
|
|
const char* driver_name = is_turnip ? "Turnip" : "Adreno"; |
|
|
|
LOG_WARNING(Render_Vulkan, |
|
|
|
"{} driver has broken custom border color handling; disabling VK_EXT_custom_border_color", |
|
|
|
driver_name); |
|
|
|
RemoveExtensionFeature(extensions.custom_border_color, features.custom_border_color, |
|
|
|
VK_EXT_CUSTOM_BORDER_COLOR_EXTENSION_NAME); |
|
|
|
} |
|
|
|
|
|
|
|
// VK_EXT_extended_dynamic_state2 below this will appear drivers that need workarounds.
|
|
|
|
|
|
|
|
|