mirror of https://github.com/Ryujinx/Ryujinx.git
Texture usage
This commit is contained in:
parent
9ae482d11b
commit
5550d59198
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue