DriverDetails: Introduce new VENDOR_APPLE for Apple GPUs

This commit is contained in:
OatmealDome committed 2022-04-19 10:55:27 -04:00
1 parent 80dfefb32e
commit e7f5e5172c
2 files changed
+6

No files matched your search

@@ -922,6 +922,11 @@ void VulkanContext::InitDriverDetails()
vendor = DriverDetails::VENDOR_IMGTEC;
driver = DriverDetails::DRIVER_IMGTEC;
}
else if (device_name.find("Apple") != std::string::npos)
{
vendor = DriverDetails::VENDOR_APPLE;
driver = DriverDetails::DRIVER_PORTABILITY;
}
else
{
WARN_LOG_FMT(VIDEO, "Unknown Vulkan driver vendor, please report it to us.");
+1
View File
@@ -43,6 +43,7 @@ enum Vendor
VENDOR_TEGRA,
VENDOR_VIVANTE,
VENDOR_MESA,
VENDOR_APPLE,
VENDOR_UNKNOWN
};