use unknown texture usage

This commit is contained in:
Samuliak 2024-05-14 20:55:26 +02:00 committed by Isaac Marovitz
parent 64005ba9ee
commit 559122f591

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,