36 case VK_VENDOR_ID_MESA:
46 case vk::PhysicalDeviceType::eOther:
48 case vk::PhysicalDeviceType::eIntegratedGpu:
50 case vk::PhysicalDeviceType::eDiscreteGpu:
52 case vk::PhysicalDeviceType::eVirtualGpu:
54 case vk::PhysicalDeviceType::eCpu:
62 auto props = device.getProperties();
63 api_version_ =
Version{VK_API_VERSION_MAJOR(props.apiVersion),
64 VK_API_VERSION_MINOR(props.apiVersion),
65 VK_API_VERSION_PATCH(props.apiVersion)};
68 FML_LOG(WARNING) <<
"Unknown GPU Driver Vendor: " << props.vendorID
69 <<
". This is not an error.";
72 if (props.deviceName.data() !=
nullptr) {
73 driver_name_ = props.deviceName.data();