From b43ff78ba147aef297c26021ed06ee743524caf7 Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Thu, 5 Sep 2024 20:18:38 +0200 Subject: [PATCH] Add missing set texture for depth stencil blit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mostly fixes Sonic Frontiers & Link’s Awakening --- src/Ryujinx.Graphics.Metal/HelperShader.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Ryujinx.Graphics.Metal/HelperShader.cs b/src/Ryujinx.Graphics.Metal/HelperShader.cs index a4a1215a6..c86974e47 100644 --- a/src/Ryujinx.Graphics.Metal/HelperShader.cs +++ b/src/Ryujinx.Graphics.Metal/HelperShader.cs @@ -474,6 +474,9 @@ namespace Ryujinx.Graphics.Metal 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; if (isDepth)