From e3da359acf87da46f0859a264d1076a603b15582 Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Sat, 29 Jul 2023 01:20:15 -0400 Subject: [PATCH] TODO --- src/Ryujinx.Graphics.Metal/Pipeline.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Ryujinx.Graphics.Metal/Pipeline.cs b/src/Ryujinx.Graphics.Metal/Pipeline.cs index de6e6abd6..208419137 100644 --- a/src/Ryujinx.Graphics.Metal/Pipeline.cs +++ b/src/Ryujinx.Graphics.Metal/Pipeline.cs @@ -31,6 +31,7 @@ namespace Ryujinx.Graphics.Metal _device = device; _mtlCommandQueue = commandQueue; + // TODO: Recreate descriptor and encoder state as needed var renderPipelineDescriptor = new MTLRenderPipelineDescriptor(); var error = new NSError(IntPtr.Zero); _renderEncoderState = new(_device.NewRenderPipelineState(renderPipelineDescriptor, ref error), _device); @@ -38,6 +39,7 @@ namespace Ryujinx.Graphics.Metal { Logger.Error?.PrintMsg(LogClass.Gpu, $"Failed to create Render Pipeline State: {StringHelper.String(error.LocalizedDescription)}"); } + // _commandBuffer = _mtlCommandQueue.CommandBuffer(); }