#[cfg(any(
windows,
target_os = "linux",
target_os = "android",
target_os = "macos",
target_os = "ios",
))]
mod ids;
#[cfg(any(
windows,
target_os = "linux",
target_os = "android",
target_os = "macos",
target_os = "ios",
))]
pub(crate) fn gpu_vendor_name(vendor_id: u32) -> Option<&'static str> {
ids::lookup(vendor_id)
}
#[cfg(all(
test,
any(
windows,
target_os = "linux",
target_os = "android",
target_os = "macos",
target_os = "ios",
),
))]
mod tests;