Enum
VkVendorId
Khronos vendor IDs
Khronos vendor IDs which may be returned in
VkPhysicalDeviceProperties::vendorID are:
typedef enum VkVendorId {
// Vendor IDs are now represented as enums instead of the old
<vendorids> tag, allowing them to be included in the
API headers.
VK_VENDOR_ID_KHRONOS = 0x10000,
VK_VENDOR_ID_VIV = 0x10001,
VK_VENDOR_ID_VSI = 0x10002,
VK_VENDOR_ID_KAZAN = 0x10003,
VK_VENDOR_ID_CODEPLAY = 0x10004,
VK_VENDOR_ID_MESA = 0x10005,
VK_VENDOR_ID_POCL = 0x10006,
VK_VENDOR_ID_MOBILEYE = 0x10007,
} VkVendorId;
pub struct VendorId(u32);
impl VendorId {
// Vendor IDs are now represented as enums instead of the old
<vendorids> tag, allowing them to be included in the
API headers.
pub const KHRONOS: Self = 0x10000;
pub const VIV: Self = 0x10001;
pub const VSI: Self = 0x10002;
pub const KAZAN: Self = 0x10003;
pub const CODEPLAY: Self = 0x10004;
pub const MESA: Self = 0x10005;
pub const POCL: Self = 0x10006;
pub const MOBILEYE: Self = 0x10007;
}
Khronos vendor IDs may be allocated by vendors at any time.
Only the latest canonical versions of this Specification, of the
corresponding
vk.xml API Registry, and of the corresponding
vulkan_core.h header file must contain all reserved Khronos vendor IDs.Only Khronos vendor IDs are given symbolic names at present.
PCI vendor IDs returned by the implementation can be looked up in the
PCI-SIG database.Parent
VK_VERSION_1_0Type
Enum