Depth Clear
This commit is contained in:
parent
8feee9c005
commit
bd3df5f26a
5 changed files with 54 additions and 68 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue