WIP V2: Experimental: Metal backend #441

Merged
GreemDev merged 369 commits from new-metal into master 2024-12-24 06:55:16 +00:00
Showing only changes of commit 15ad03bc04 - Show all commits

View File

@ -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;