Multisample Blits

Partially fixes Sonic Colors Ultimate
This commit is contained in:
Isaac Marovitz 2024-07-24 21:53:17 +01:00 committed by Isaac Marovitz
parent b434cae2c2
commit aa6e87e8a6
6 changed files with 81 additions and 25 deletions

View file

@ -193,22 +193,13 @@ namespace Ryujinx.Graphics.Metal
}
public void Blit(
ITexture src,
ITexture dst,
Texture src,
Texture dst,
Extents2D srcRegion,
Extents2D dstRegion,
bool isDepthOrStencil,
bool linearFilter)
{
if (isDepthOrStencil)
{
// TODO: Depth & stencil blit!
Logger.Warning?.PrintMsg(LogClass.Gpu, "Requested a depth or stencil blit!");
}
else
{
_renderer.HelperShader.BlitColor(Cbs, src, dst, srcRegion, dstRegion, linearFilter);
}
_renderer.HelperShader.BlitColor(Cbs, src, dst, srcRegion, dstRegion, linearFilter);
}
public void Barrier()