VulkanContext: Don't assume anv for Intel GPUs on macOS

This commit is contained in:
OatmealDome
2021-07-23 05:03:05 -04:00
parent 22f7c07caf
commit aa64f7f14f

View File

@ -869,8 +869,8 @@ void VulkanContext::InitDriverDetails()
{ {
// Apart from the driver version, Intel does not appear to provide a way to // Apart from the driver version, Intel does not appear to provide a way to
// differentiate between anv and the binary driver (Skylake+). Assume to be // differentiate between anv and the binary driver (Skylake+). Assume to be
// using anv if we not running on Windows. // using anv if we're not running on Windows or macOS.
#ifdef WIN32 #if defined(WIN32) || defined(__APPLE__)
vendor = DriverDetails::VENDOR_INTEL; vendor = DriverDetails::VENDOR_INTEL;
driver = DriverDetails::DRIVER_INTEL; driver = DriverDetails::DRIVER_INTEL;
#else #else