|
|
|
@ -1117,6 +1117,14 @@ bool Device::GetSuitability(bool requires_swapchain) { |
|
|
|
|
|
|
|
// VK_DYNAMIC_STATE
|
|
|
|
|
|
|
|
// Driver detection variables for workarounds
|
|
|
|
const VkDriverId driver_id = properties.driver.driverID; |
|
|
|
const bool is_radv = driver_id == VK_DRIVER_ID_MESA_RADV; |
|
|
|
const bool is_amd_driver = |
|
|
|
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; |
|
|
|
const bool is_qualcomm = driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY; |
|
|
|
|
|
|
|
// VK_EXT_extended_dynamic_state
|
|
|
|
|
|
|
|
// RADV < 21.2.0: Broken ExtendedDynamicState implementation
|
|
|
|
|