Multisample Blits
Partially fixes Sonic Colors Ultimate
This commit is contained in:
parent
b434cae2c2
commit
aa6e87e8a6
6 changed files with 81 additions and 25 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue