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.
This commit is contained in:
Stenzek
2017-09-19 21:11:33 +10:00
parent f7ff634e4f
commit db810956ec
4 changed files with 80 additions and 38 deletions

View File

@ -285,7 +285,4 @@ void Init(API api, Vendor vendor, Driver driver, const double version, const Fam
// Once Vendor and driver version is set, this will return if it has the applicable bug passed to
// it.
bool HasBug(Bug bug);
// Attempts to map a PCI vendor ID to our Vendor enumeration
Vendor TranslatePCIVendorID(u32 vendor_id);
}