Skip to content

Commit

Permalink
VulkanContext: Don't assume anv for Intel GPUs on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
OatmealDome committed Sep 20, 2021
1 parent 22f7c07 commit aa64f7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/VideoBackends/Vulkan/VulkanContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa64f7f

Please sign in to comment.