Helper Shader fixes for non float formats

This commit is contained in:
Isaac Marovitz
2024-08-01 00:37:37 +01:00
committed by Isaac Marovitz
parent 4cd15cb1a6
commit 245778bc7e
5 changed files with 166 additions and 31 deletions

View File

@@ -269,7 +269,7 @@ namespace Ryujinx.Graphics.Metal
return;
}
_renderer.HelperShader.ClearColor(index, colors, componentMask, dst.Width, dst.Height);
_renderer.HelperShader.ClearColor(index, colors, componentMask, dst.Width, dst.Height, dst.Info.Format);
}
public void ClearRenderTargetDepthStencil(int layer, int layerCount, float depthValue, bool depthMask, int stencilValue, int stencilMask)