Added Apple vendor id.
This commit is contained in:
parent
fd9bcf541a
commit
1e2ca25424
@ -1269,6 +1269,11 @@ public static class bgfx
|
||||
/// </summary>
|
||||
Amd = 0x1002,
|
||||
|
||||
/// <summary>
|
||||
/// Apple adapter.
|
||||
/// </summary>
|
||||
Apple = 0x106b,
|
||||
|
||||
/// <summary>
|
||||
/// Intel adapter.
|
||||
/// </summary>
|
||||
|
@ -1268,6 +1268,11 @@ public static partial class bgfx
|
||||
/// </summary>
|
||||
Amd = 0x1002,
|
||||
|
||||
/// <summary>
|
||||
/// Apple adapter.
|
||||
/// </summary>
|
||||
Apple = 0x106b,
|
||||
|
||||
/// <summary>
|
||||
/// Intel adapter.
|
||||
/// </summary>
|
||||
|
@ -401,6 +401,7 @@ enum ubyte BGFX_RESOLVE_AUTO_GEN_MIPS = 0x01; /// Auto-generate mip maps on reso
|
||||
enum ushort BGFX_PCI_ID_NONE = 0x0000; /// Autoselect adapter.
|
||||
enum ushort BGFX_PCI_ID_SOFTWARE_RASTERIZER = 0x0001; /// Software rasterizer.
|
||||
enum ushort BGFX_PCI_ID_AMD = 0x1002; /// AMD adapter.
|
||||
enum ushort BGFX_PCI_ID_APPLE = 0x106b; /// Apple adapter.
|
||||
enum ushort BGFX_PCI_ID_INTEL = 0x8086; /// Intel adapter.
|
||||
enum ushort BGFX_PCI_ID_NVIDIA = 0x10de; /// nVidia adapter.
|
||||
enum ushort BGFX_PCI_ID_MICROSOFT = 0x1414; /// Microsoft adapter.
|
||||
|
@ -520,6 +520,7 @@
|
||||
#define BGFX_PCI_ID_NONE UINT16_C(0x0000) //!< Autoselect adapter.
|
||||
#define BGFX_PCI_ID_SOFTWARE_RASTERIZER UINT16_C(0x0001) //!< Software rasterizer.
|
||||
#define BGFX_PCI_ID_AMD UINT16_C(0x1002) //!< AMD adapter.
|
||||
#define BGFX_PCI_ID_APPLE UINT16_C(0x106b) //!< Apple adapter.
|
||||
#define BGFX_PCI_ID_INTEL UINT16_C(0x8086) //!< Intel adapter.
|
||||
#define BGFX_PCI_ID_NVIDIA UINT16_C(0x10de) //!< nVidia adapter.
|
||||
#define BGFX_PCI_ID_MICROSOFT UINT16_C(0x1414) //!< Microsoft adapter.
|
||||
|
@ -425,6 +425,7 @@ flag.PciId { bits = 16 , const }
|
||||
.None (0x0000) --- Autoselect adapter.
|
||||
.SoftwareRasterizer (0x0001) --- Software rasterizer.
|
||||
.Amd (0x1002) --- AMD adapter.
|
||||
.Apple (0x106b) --- Apple adapter.
|
||||
.Intel (0x8086) --- Intel adapter.
|
||||
.Nvidia (0x10de) --- nVidia adapter.
|
||||
.Microsoft (0x1414) --- Microsoft adapter.
|
||||
|
Loading…
Reference in New Issue
Block a user