use unknown texture usage

This commit is contained in:
Samuliak 2024-05-14 20:55:26 +02:00 committed by Evan Husted
parent d66c39b64b
commit 362dc6eaea

View File

@ -32,7 +32,7 @@ namespace Ryujinx.Graphics.Metal
var descriptor = new MTLTextureDescriptor var descriptor = new MTLTextureDescriptor
{ {
PixelFormat = FormatTable.GetFormat(Info.Format), PixelFormat = FormatTable.GetFormat(Info.Format),
Usage = MTLTextureUsage.ShaderRead, Usage = MTLTextureUsage.Unknown,
SampleCount = (ulong)Info.Samples, SampleCount = (ulong)Info.Samples,
TextureType = Info.Target.Convert(), TextureType = Info.Target.Convert(),
Width = (ulong)Info.Width, Width = (ulong)Info.Width,