DriverDetails: Introduce new VENDOR_APPLE for Apple GPUs
This commit is contained in:
parent
80dfefb32e
commit
e7f5e5172c
|
@ -922,6 +922,11 @@ void VulkanContext::InitDriverDetails()
|
||||||
vendor = DriverDetails::VENDOR_IMGTEC;
|
vendor = DriverDetails::VENDOR_IMGTEC;
|
||||||
driver = DriverDetails::DRIVER_IMGTEC;
|
driver = DriverDetails::DRIVER_IMGTEC;
|
||||||
}
|
}
|
||||||
|
else if (device_name.find("Apple") != std::string::npos)
|
||||||
|
{
|
||||||
|
vendor = DriverDetails::VENDOR_APPLE;
|
||||||
|
driver = DriverDetails::DRIVER_PORTABILITY;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
WARN_LOG_FMT(VIDEO, "Unknown Vulkan driver vendor, please report it to us.");
|
WARN_LOG_FMT(VIDEO, "Unknown Vulkan driver vendor, please report it to us.");
|
||||||
|
|
|
@ -43,6 +43,7 @@ enum Vendor
|
||||||
VENDOR_TEGRA,
|
VENDOR_TEGRA,
|
||||||
VENDOR_VIVANTE,
|
VENDOR_VIVANTE,
|
||||||
VENDOR_MESA,
|
VENDOR_MESA,
|
||||||
|
VENDOR_APPLE,
|
||||||
VENDOR_UNKNOWN
|
VENDOR_UNKNOWN
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue