diff options
| author | Stenzek <stenzek@gmail.com> | 2017-09-19 21:11:33 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2018-03-14 02:48:53 +1000 |
| commit | db810956ec74b094c006cddf6854d626e0991221 (patch) | |
| tree | 13f8e424f58b29b4f90c01444a3fe924e2badaad /Source/Core/VideoCommon/DriverDetails.cpp | |
| parent | f7ff634e4fa8353b968c310a94958741e8bb61cd (diff) | |
Vulkan: Provide a more accurate method of detecting drivers/vendors
This is needed to differentiate between the open-source Mesa drivers and
their binary counterparts for Intel and AMD.
Diffstat (limited to 'Source/Core/VideoCommon/DriverDetails.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/DriverDetails.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/Source/Core/VideoCommon/DriverDetails.cpp b/Source/Core/VideoCommon/DriverDetails.cpp index 8fd990395d..ce595738bc 100644 --- a/Source/Core/VideoCommon/DriverDetails.cpp +++ b/Source/Core/VideoCommon/DriverDetails.cpp @@ -165,34 +165,4 @@ bool HasBug(Bug bug) return false; return it->second.m_hasbug; } - -Vendor TranslatePCIVendorID(u32 vendor_id) -{ - switch (vendor_id) - { - case 0x10DE: - return VENDOR_NVIDIA; - - case 0x1002: - case 0x1022: - return VENDOR_ATI; - - case 0x8086: - case 0x8087: - return VENDOR_INTEL; - - // TODO: Is this correct for Mali? - case 0x13B6: - return VENDOR_ARM; - - case 0x5143: - return VENDOR_QUALCOMM; - - case 0x1010: - return VENDOR_IMGTEC; - - default: - return VENDOR_UNKNOWN; - } -} } |
