GPUDevice: Fix ARM GPU detection

This commit is contained in:
Stenzek 2025-07-10 19:36:14 +10:00
parent 13e4515118
commit f21ab0b70a
No known key found for this signature in database

View File

@ -1226,7 +1226,7 @@ GPUDriverType GPUDevice::GuessDriverType(u32 pci_vendor_id, std::string_view ven
INFO_LOG("Intel GPU detected."); INFO_LOG("Intel GPU detected.");
return MESA_CHECK ? GPUDriverType::IntelMesa : GPUDriverType::IntelProprietary; return MESA_CHECK ? GPUDriverType::IntelMesa : GPUDriverType::IntelProprietary;
} }
else if (pci_vendor_id == 0x5143 || VCHECK("ARM") || ACHECK("Adreno")) else if (pci_vendor_id == 0x5143 || VCHECK("Qualcomm") || ACHECK("Adreno"))
{ {
INFO_LOG("Qualcomm GPU detected."); INFO_LOG("Qualcomm GPU detected.");
return MESA_CHECK ? GPUDriverType::QualcommMesa : GPUDriverType::QualcommProprietary; return MESA_CHECK ? GPUDriverType::QualcommMesa : GPUDriverType::QualcommProprietary;