mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-07 02:02:34 -07:00
Stop depth/stencil blits from crashing everything
This commit is contained in:
committed by
Isaac Marovitz
parent
edceb1607f
commit
ed4f7a5602
@@ -162,7 +162,10 @@ namespace Ryujinx.Graphics.Metal
|
||||
|
||||
public void CopyTo(ITexture destination, Extents2D srcRegion, Extents2D dstRegion, bool linearFilter)
|
||||
{
|
||||
_pipeline.BlitColor(this, destination, srcRegion, dstRegion, linearFilter);
|
||||
var dst = (Texture)destination;
|
||||
bool isDepthOrStencil = dst.Info.Format.IsDepthOrStencil();
|
||||
|
||||
_pipeline.Blit(this, destination, srcRegion, dstRegion, isDepthOrStencil, linearFilter);
|
||||
}
|
||||
|
||||
public void CopyTo(BufferRange range, int layer, int level, int stride)
|
||||
|
Reference in New Issue
Block a user