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:
Cedric Guillemet
2021-12-01 20:19:47 +01:00
committed by GitHub
parent 75fe88fe3a
commit 64a28415a8
6 changed files with 14 additions and 1 deletions

View File

@@ -1278,6 +1278,11 @@ public static class bgfx
/// nVidia adapter.
/// </summary>
Nvidia = 0x10de,
/// <summary>
/// Microsoft adapter.
/// </summary>
Microsoft = 0x1414,
}
[AllowDuplicates]

View File

@@ -1277,6 +1277,11 @@ public static partial class bgfx
/// nVidia adapter.
/// </summary>
Nvidia = 0x10de,
/// <summary>
/// Microsoft adapter.
/// </summary>
Microsoft = 0x1414,
}
[Flags]

View File

@@ -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.