mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 21:40:41 +00:00
D3D12 Depth overlay fix for unset stencil mask
This commit is contained in:
committed by
Baldur Karlsson
parent
693fa9e8ea
commit
3eccdc736e
@@ -2323,6 +2323,8 @@ ResourceId D3D12Replay::RenderOverlay(ResourceId texid, FloatVector clearCol, De
|
||||
psoDesc.DepthStencilState.FrontFace.StencilFailOp = D3D12_STENCIL_OP_KEEP;
|
||||
psoDesc.DepthStencilState.FrontFace.StencilDepthFailOp = D3D12_STENCIL_OP_KEEP;
|
||||
psoDesc.DepthStencilState.FrontFace.StencilPassOp = D3D12_STENCIL_OP_REPLACE;
|
||||
psoDesc.DepthStencilState.FrontFace.StencilReadMask = 0xff;
|
||||
psoDesc.DepthStencilState.FrontFace.StencilWriteMask = 0xff;
|
||||
psoDesc.DepthStencilState.BackFace = psoDesc.DepthStencilState.FrontFace;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user