fix building

This commit is contained in:
CamilleLaVey 2025-12-04 00:36:49 -04:00 committed by Caio Oliveira
parent 68a92e246d
commit bd36b8b8ee
1 changed files with 3 additions and 0 deletions

View File

@ -1342,6 +1342,9 @@ bool Device::GetSuitability(bool requires_swapchain) {
}
void Device::RemoveUnsuitableExtensions() {
const VkDriverId driver_id = properties.driver.driverID;
const bool is_qualcomm = driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY;
// VK_EXT_custom_border_color
// Enable extension if driver supports it, then check individual features
// - customBorderColors: Required to use VK_BORDER_COLOR_FLOAT_CUSTOM_EXT