Texture usage
This commit is contained in:
parent
33a986317b
commit
118d10bc32
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ namespace Ryujinx.Graphics.Metal
|
||||||
|
|
||||||
var descriptor = new MTLTextureDescriptor();
|
var descriptor = new MTLTextureDescriptor();
|
||||||
descriptor.PixelFormat = FormatTable.GetFormat(Info.Format);
|
descriptor.PixelFormat = FormatTable.GetFormat(Info.Format);
|
||||||
// descriptor.Usage =
|
descriptor.Usage = MTLTextureUsage.ShaderRead | MTLTextureUsage.ShaderWrite | MTLTextureUsage.RenderTarget;
|
||||||
descriptor.Width = (ulong)Width;
|
descriptor.Width = (ulong)Width;
|
||||||
descriptor.Height = (ulong)Height;
|
descriptor.Height = (ulong)Height;
|
||||||
descriptor.Depth = (ulong)Info.Depth;
|
descriptor.Depth = (ulong)Info.Depth;
|
||||||
|
|
Loading…
Reference in a new issue