From a60643620d87282b410960ff1e12702aca1dbec4 Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Wed, 26 Jun 2024 12:39:05 +0100 Subject: [PATCH] Warning about host map buffer creation --- src/Ryujinx.Graphics.Metal/BufferManager.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Ryujinx.Graphics.Metal/BufferManager.cs b/src/Ryujinx.Graphics.Metal/BufferManager.cs index 766c1dea2..76d6d4fb8 100644 --- a/src/Ryujinx.Graphics.Metal/BufferManager.cs +++ b/src/Ryujinx.Graphics.Metal/BufferManager.cs @@ -63,6 +63,7 @@ namespace Ryujinx.Graphics.Metal public BufferHandle Create(nint pointer, int size) { + // TODO: This is the wrong Metal method, we need no-copy which SharpMetal isn't giving us. var buffer = _device.NewBuffer(pointer, (ulong)size, MTLResourceOptions.ResourceStorageModeShared); if (buffer == IntPtr.Zero)