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:
parent
16eb005e8b
commit
b43ff78ba1
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue