1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-19 01:12:01 +00:00

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
{
PixelFormat = FormatTable.GetFormat(Info.Format),
Usage = MTLTextureUsage.ShaderRead,
Usage = MTLTextureUsage.Unknown,
SampleCount = (ulong)Info.Samples,
TextureType = Info.Target.Convert(),
Width = (ulong)Info.Width,