From 118d10bc32f1c028551611e85f6b27688fa14d53 Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Sat, 29 Jul 2023 00:07:54 -0400 Subject: [PATCH] Texture usage --- src/Ryujinx.Graphics.Metal/Texture.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ryujinx.Graphics.Metal/Texture.cs b/src/Ryujinx.Graphics.Metal/Texture.cs index 055236371..e13dbf818 100644 --- a/src/Ryujinx.Graphics.Metal/Texture.cs +++ b/src/Ryujinx.Graphics.Metal/Texture.cs @@ -27,7 +27,7 @@ namespace Ryujinx.Graphics.Metal var descriptor = new MTLTextureDescriptor(); descriptor.PixelFormat = FormatTable.GetFormat(Info.Format); - // descriptor.Usage = + descriptor.Usage = MTLTextureUsage.ShaderRead | MTLTextureUsage.ShaderWrite | MTLTextureUsage.RenderTarget; descriptor.Width = (ulong)Width; descriptor.Height = (ulong)Height; descriptor.Depth = (ulong)Info.Depth;