From 348a37a3552045778406b40099268002b4e39b2b Mon Sep 17 00:00:00 2001 From: Samuliak Date: Sun, 19 May 2024 08:09:06 +0200 Subject: [PATCH] add todo notice --- src/Ryujinx.Graphics.Metal/EncoderStateManager.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Ryujinx.Graphics.Metal/EncoderStateManager.cs b/src/Ryujinx.Graphics.Metal/EncoderStateManager.cs index b26b8803e..e675d6459 100644 --- a/src/Ryujinx.Graphics.Metal/EncoderStateManager.cs +++ b/src/Ryujinx.Graphics.Metal/EncoderStateManager.cs @@ -105,6 +105,7 @@ namespace Ryujinx.Graphics.Metal public void RebindState(MTLRenderCommandEncoder renderCommandEncoder) { + // TODO: only rebind the dirty state SetPipelineState(renderCommandEncoder); SetDepthStencilState(renderCommandEncoder, _currentState.DepthStencilState); SetDepthClamp(renderCommandEncoder, _currentState.DepthClipMode);