diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2022-12-21 15:08:12 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-21 19:08:12 +0100 |
| commit | cb70e7bb30e8ecf5bcdd58b976f2ed5ea8cff947 (patch) | |
| tree | 7728b4f08c47ae7113590e9c20b85454ba091ad8 /Ryujinx.Graphics.Gpu/Engine/Threed/DrawState.cs | |
| parent | c200a7b7c668acc733a0c20df865662b86859746 (diff) | |
Fix DrawArrays vertex buffer size (#4141)
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Engine/Threed/DrawState.cs')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Engine/Threed/DrawState.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/Engine/Threed/DrawState.cs b/Ryujinx.Graphics.Gpu/Engine/Threed/DrawState.cs index fd1cb0ea..42ec2442 100644 --- a/Ryujinx.Graphics.Gpu/Engine/Threed/DrawState.cs +++ b/Ryujinx.Graphics.Gpu/Engine/Threed/DrawState.cs @@ -18,6 +18,16 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed 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> public bool DrawIndexed; |
