Better vertex buffer management

This commit is contained in:
Isaac Marovitz
2024-07-08 13:55:46 +01:00
committed by Evan Husted
parent c399868ddf
commit 1f133040bd
3 changed files with 85 additions and 18 deletions

View File

@@ -122,7 +122,7 @@ namespace Ryujinx.Graphics.Metal
public Array8<ColorBlendStateUid> StoredBlend;
public ColorF BlendColor = new();
public readonly VertexBufferDescriptor[] VertexBuffers = new VertexBufferDescriptor[Constants.MaxVertexBuffers];
public readonly VertexBufferState[] VertexBuffers = new VertexBufferState[Constants.MaxVertexBuffers];
public readonly VertexAttribDescriptor[] VertexAttribs = new VertexAttribDescriptor[Constants.MaxVertexAttributes];
// Dirty flags
public DirtyFlags Dirty = DirtyFlags.None;