mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Fix typo in front/back face stencil mask check
This commit is contained in:
committed by
Baldur Karlsson
parent
18d75ff493
commit
401c6617dc
@@ -1702,8 +1702,8 @@ D3D12_PACKED_PIPELINE_STATE_STREAM_DESC &D3D12_PACKED_PIPELINE_STATE_STREAM_DESC
|
||||
// one to ensure we don't fail when the new one isn't supported
|
||||
if(expanded.DepthStencilState.StencilEnable &&
|
||||
(expanded.DepthStencilState.FrontFace.StencilReadMask !=
|
||||
expanded.DepthStencilState.FrontFace.StencilReadMask ||
|
||||
expanded.DepthStencilState.BackFace.StencilWriteMask !=
|
||||
expanded.DepthStencilState.BackFace.StencilReadMask ||
|
||||
expanded.DepthStencilState.FrontFace.StencilWriteMask !=
|
||||
expanded.DepthStencilState.BackFace.StencilWriteMask))
|
||||
{
|
||||
WRITE_VERSIONED_SUBOJBECT(D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL2,
|
||||
|
||||
Reference in New Issue
Block a user