Fix DrawArrays vertex buffer size (#4141)

This commit is contained in:
gdkchan 2022-12-21 15:08:12 -03:00 committed by GitHub
parent eda84dda1c
commit f4547b8a47
3 changed files with 20 additions and 9 deletions

View file

@ -17,6 +17,16 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed
/// </summary>
public int IndexCount;
/// <summary>
/// First vertex used on non-indexed draws. This value is stored somewhere else on indexed draws.
/// </summary>
public int DrawFirstVertex;
/// <summary>
/// Vertex count used on non-indexed draws. Indexed draws have a index count instead.
/// </summary>
public int DrawVertexCount;
/// <summary>
/// Indicates if the next draw will be a indexed draw.
/// </summary>