mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Disable Batch indirect mode for Microsoft WARP (#2672)
* Disable Batch indirect mode for Microsoft WARP * idl Co-authored-by: Cedric Guillemet <ceguille@microsoft.com>
This commit is contained in:
@@ -1278,6 +1278,11 @@ public static class bgfx
|
||||
/// nVidia adapter.
|
||||
/// </summary>
|
||||
Nvidia = 0x10de,
|
||||
|
||||
/// <summary>
|
||||
/// Microsoft adapter.
|
||||
/// </summary>
|
||||
Microsoft = 0x1414,
|
||||
}
|
||||
|
||||
[AllowDuplicates]
|
||||
|
||||
@@ -1277,6 +1277,11 @@ public static partial class bgfx
|
||||
/// nVidia adapter.
|
||||
/// </summary>
|
||||
Nvidia = 0x10de,
|
||||
|
||||
/// <summary>
|
||||
/// Microsoft adapter.
|
||||
/// </summary>
|
||||
Microsoft = 0x1414,
|
||||
}
|
||||
|
||||
[Flags]
|
||||
|
||||
@@ -403,6 +403,7 @@ enum ushort BGFX_PCI_ID_SOFTWARE_RASTERIZER = 0x0001; /// Software rasterizer.
|
||||
enum ushort BGFX_PCI_ID_AMD = 0x1002; /// AMD 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 ubyte BGFX_CUBE_MAP_POSITIVE_X = 0x00; /// Cubemap +x.
|
||||
enum ubyte BGFX_CUBE_MAP_NEGATIVE_X = 0x01; /// Cubemap -x.
|
||||
|
||||
Reference in New Issue
Block a user