mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-03 20:52:24 -07:00
Depth Clear
This commit is contained in:
committed by
Isaac Marovitz
parent
8feee9c005
commit
bd3df5f26a
@@ -215,7 +215,11 @@ namespace Ryujinx.Graphics.Metal
|
||||
|
||||
public void ClearRenderTargetDepthStencil(int layer, int layerCount, float depthValue, bool depthMask, int stencilValue, int stencilMask)
|
||||
{
|
||||
Logger.Warning?.Print(LogClass.Gpu, "Not Implemented!");
|
||||
Texture target = _encoderStateManager.DepthStencil;
|
||||
|
||||
_encoderStateManager.SwapStates();
|
||||
|
||||
_helperShader.ClearDepthStencil(target, [depthValue], depthMask, stencilValue, stencilMask);
|
||||
}
|
||||
|
||||
public void CommandBufferBarrier()
|
||||
|
Reference in New Issue
Block a user