Fix Vertex Attributes in Wonder & Kirby
This commit is contained in:
parent
20e1d1cd33
commit
a7e5c26011
2 changed files with 63 additions and 42 deletions
|
@ -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() { }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue