Fix Vertex Attributes in Wonder & Kirby

This commit is contained in:
Isaac Marovitz 2024-05-18 22:06:53 -04:00 committed by Isaac Marovitz
parent 20e1d1cd33
commit a7e5c26011
2 changed files with 63 additions and 42 deletions

View file

@ -19,7 +19,6 @@ namespace Ryujinx.Graphics.Metal
public Dictionary<ulong, MTLTexture> VertexTextures = new();
public Dictionary<ulong, MTLSamplerState> VertexSamplers = new();
public List<BufferInfo> VertexBuffers = [];
public List<BufferInfo> UniformBuffers = [];
public List<BufferInfo> StorageBuffers = [];
@ -47,10 +46,12 @@ namespace Ryujinx.Graphics.Metal
// Changes to attachments take recreation!
public MTLTexture DepthStencil = default;
public MTLTexture[] RenderTargets = new MTLTexture[MaxColorAttachments];
public MTLVertexDescriptor VertexDescriptor = new();
public Dictionary<int, BlendDescriptor> BlendDescriptors = new();
public ColorF BlendColor = new();
public VertexBufferDescriptor[] VertexBuffers = [];
public VertexAttribDescriptor[] VertexAttribs = [];
public EncoderState() { }
}
}