1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-23 22:26:01 +00:00

Add missing set texture for depth stencil blit

Mostly fixes Sonic Frontiers & Link’s Awakening
This commit is contained in:
Isaac Marovitz 2024-09-05 20:18:38 +02:00 committed by Isaac Marovitz
parent 16eb005e8b
commit b43ff78ba1

View file

@ -474,6 +474,9 @@ namespace Ryujinx.Graphics.Metal
private void BlitDepthStencilDraw(Texture src, bool isDepth) private void BlitDepthStencilDraw(Texture src, bool isDepth)
{ {
// TODO: Check this https://github.com/Ryujinx/Ryujinx/pull/5003/
_pipeline.SetTextureAndSampler(ShaderStage.Fragment, 0, src, _samplerNearest);
string debugGroupName; string debugGroupName;
if (isDepth) if (isDepth)