Fix typo in front/back face stencil mask check

This commit is contained in:
Dan Hawson
2023-09-04 18:13:28 +01:00
committed by Baldur Karlsson
parent 18d75ff493
commit 401c6617dc
+2 -2
View File
@@ -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,