mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-04 01:32:24 -07:00
Set Vertex Descriptor properly
This commit is contained in:
committed by
Isaac Marovitz
parent
5c9d1bd0da
commit
db9de66437
@@ -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)
|
||||
|
Reference in New Issue
Block a user