Added a new capability to check for PrimitiveID support (#3154)

This commit is contained in:
Jamil Halabi
2023-08-04 17:42:33 +03:00
committed by GitHub
parent 3101a0d93f
commit f059531885
12 changed files with 53 additions and 14 deletions

View File

@@ -1147,15 +1147,20 @@ public static class bgfx
/// </summary>
VertexId = 0x0000000008000000,
/// <summary>
/// PrimitiveID is available in fragment shader.
/// </summary>
PrimitiveId = 0x0000000010000000,
/// <summary>
/// Viewport layer is available in vertex shader.
/// </summary>
ViewportLayerArray = 0x0000000010000000,
ViewportLayerArray = 0x0000000020000000,
/// <summary>
/// Draw indirect with indirect count is supported.
/// </summary>
DrawIndirectCount = 0x0000000020000000,
DrawIndirectCount = 0x0000000040000000,
/// <summary>
/// All texture compare modes are supported.