VulkanContext: Don't assume anv for Intel GPUs on macOS
This commit is contained in:
parent
22f7c07caf
commit
aa64f7f14f
|
@ -869,8 +869,8 @@ void VulkanContext::InitDriverDetails()
|
|||
{
|
||||
// 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
|
||||
// using anv if we not running on Windows.
|
||||
#ifdef WIN32
|
||||
// using anv if we're not running on Windows or macOS.
|
||||
#if defined(WIN32) || defined(__APPLE__)
|
||||
vendor = DriverDetails::VENDOR_INTEL;
|
||||
driver = DriverDetails::DRIVER_INTEL;
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue