Identify Google Swiftshader and Microsoft WARP PCI vendor IDs

This commit is contained in:
baldurk
2019-08-27 18:51:55 +01:00
parent f46ec7c21e
commit 04a221226d
+2
View File
@@ -1452,6 +1452,8 @@ constexpr GPUVendor GPUVendorFromPCIVendor(uint32_t vendorID)
: vendorID == 0x8086 ? GPUVendor::Intel
: vendorID == 0x10DE ? GPUVendor::nVidia
: vendorID == 0x5143 ? GPUVendor::Qualcomm
: vendorID == 0x1AE0 ? GPUVendor::Software // Google Swiftshader
: vendorID == 0x1414 ? GPUVendor::Software // Microsoft WARP
: GPUVendor::Unknown;
// clang-format on
}