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
1 changed files with 2 additions and 2 deletions

View File

@ -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