mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-27 02:53:04 +00:00
Implement Texture CopyTo
This commit is contained in:
parent
cb8fdeafbc
commit
35f68c1b31
2 changed files with 11 additions and 7 deletions
|
@ -191,6 +191,16 @@ namespace Ryujinx.Graphics.Metal
|
|||
dst.Dispose();
|
||||
}
|
||||
|
||||
public void BlitColor(
|
||||
ITexture src,
|
||||
ITexture dst,
|
||||
Extents2D srcRegion,
|
||||
Extents2D dstRegion,
|
||||
bool linearFilter)
|
||||
{
|
||||
_helperShader.BlitColor(src, dst, srcRegion, dstRegion, linearFilter);
|
||||
}
|
||||
|
||||
public void Barrier()
|
||||
{
|
||||
|
||||
|
|
|
@ -149,13 +149,7 @@ namespace Ryujinx.Graphics.Metal
|
|||
|
||||
public void CopyTo(ITexture destination, Extents2D srcRegion, Extents2D dstRegion, bool linearFilter)
|
||||
{
|
||||
// var blitCommandEncoder = _pipeline.GetOrCreateBlitEncoder();
|
||||
//
|
||||
// if (destination is Texture destinationTexture)
|
||||
// {
|
||||
//
|
||||
// }
|
||||
Logger.Warning?.Print(LogClass.Gpu, "Not Implemented!");
|
||||
_pipeline.BlitColor(this, destination, srcRegion, dstRegion, linearFilter);
|
||||
}
|
||||
|
||||
public void CopyTo(BufferRange range, int layer, int level, int stride)
|
||||
|
|
Loading…
Reference in a new issue