Fix a bunch of issues with texture copy and flush (#32)
* Fix a bunch of issues with texture copy and flush * TextureCopy helper class, fix clear bug
This commit is contained in:
parent
0c1acb5107
commit
7b9b23e500
5 changed files with 351 additions and 115 deletions
|
@ -21,7 +21,10 @@ namespace Ryujinx.Graphics.Metal
|
|||
public int Width => Info.Width;
|
||||
public int Height => Info.Height;
|
||||
public int Depth => Info.Depth;
|
||||
|
||||
public MTLPixelFormat MtlFormat { get; protected set; }
|
||||
public int FirstLayer { get; protected set; }
|
||||
public int FirstLevel { get; protected set; }
|
||||
|
||||
public TextureBase(MTLDevice device, MetalRenderer renderer, Pipeline pipeline, TextureCreateInfo info)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue