Set Vertex Descriptor properly
This commit is contained in:
parent
5c9d1bd0da
commit
db9de66437
2 changed files with 15 additions and 6 deletions
|
@ -526,12 +526,12 @@ namespace Ryujinx.Graphics.Metal
|
|||
|
||||
public void SetVertexAttribs(ReadOnlySpan<VertexAttribDescriptor> vertexAttribs)
|
||||
{
|
||||
Logger.Warning?.Print(LogClass.Gpu, "Not Implemented!");
|
||||
_renderEncoderState.UpdateVertexAttributes(vertexAttribs);
|
||||
}
|
||||
|
||||
public void SetVertexBuffers(ReadOnlySpan<VertexBufferDescriptor> vertexBuffers)
|
||||
{
|
||||
_renderEncoderState.UpdateVertexDescriptor(vertexBuffers);
|
||||
_renderEncoderState.UpdateVertexBuffers(vertexBuffers);
|
||||
}
|
||||
|
||||
public unsafe void SetViewports(ReadOnlySpan<Viewport> viewports)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue