Fix MSAA with ARM Mali OpenGL ES (#2818)

* Fix MSAA with ARM Mali OpenGL ES

* indenting
This commit is contained in:
Cedric Guillemet
2022-06-15 03:35:19 -07:00
committed by GitHub
parent 6cf243f469
commit f0cf1794e7
8 changed files with 177 additions and 37 deletions

View File

@@ -1288,6 +1288,11 @@ public static class bgfx
/// Microsoft adapter.
/// </summary>
Microsoft = 0x1414,
/// <summary>
/// ARM adapter.
/// </summary>
Arm = 0x13b5,
}
[AllowDuplicates]

View File

@@ -1287,6 +1287,11 @@ public static partial class bgfx
/// Microsoft adapter.
/// </summary>
Microsoft = 0x1414,
/// <summary>
/// ARM adapter.
/// </summary>
Arm = 0x13b5,
}
[Flags]

View File

@@ -438,6 +438,7 @@ 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.
enum ushort BGFX_PCI_ID_ARM = 0x13b5; /// ARM adapter.
enum ubyte BGFX_CUBE_MAP_POSITIVE_X = 0x00; /// Cubemap +x.
enum ubyte BGFX_CUBE_MAP_NEGATIVE_X = 0x01; /// Cubemap -x.

View File

@@ -789,6 +789,9 @@ pub const PciIdFlags_Nvidia: PciIdFlags = 0x10de;
/// Microsoft adapter.
pub const PciIdFlags_Microsoft: PciIdFlags = 0x1414;
/// ARM adapter.
pub const PciIdFlags_Arm: PciIdFlags = 0x13b5;
pub const CubeMapFlags = u32;
/// Cubemap +x.
pub const CubeMapFlags_PositiveX: CubeMapFlags = 0x00000000;