WIP V2: Experimental: Metal backend #441

Merged
GreemDev merged 369 commits from new-metal into master 2024-12-24 06:55:16 +00:00
Showing only changes of commit f30aa98ce5 - Show all commits

View File

@ -123,6 +123,8 @@ namespace Ryujinx.Graphics.Metal
}
private void SetPipelineState(MTLRenderCommandEncoder renderCommandEncoder) {
if (_currentState.Dirty.Pipeline)
{
var renderPipelineDescriptor = new MTLRenderPipelineDescriptor();
for (int i = 0; i < EncoderState.MaxColorAttachments; i++)
@ -207,6 +209,7 @@ namespace Ryujinx.Graphics.Metal
_currentState.BlendColor.Blue,
_currentState.BlendColor.Alpha);
}
}
public void UpdateIndexBuffer(BufferRange buffer, IndexType type)
{