Get original ID for D3D11 blend state

This commit is contained in:
baldurk
2017-11-21 17:52:18 +00:00
parent 46a79135b2
commit 41b349e3d2
+1 -1
View File
@@ -1091,7 +1091,7 @@ void D3D11Replay::SavePipelineState()
D3D11_BLEND_DESC desc;
rs->OM.BlendState->GetDesc(&desc);
ret.m_OM.m_BlendState.State = GetIDForResource(rs->OM.BlendState);
ret.m_OM.m_BlendState.State = rm->GetOriginalID(GetIDForResource(rs->OM.BlendState));
ret.m_OM.m_BlendState.AlphaToCoverage = desc.AlphaToCoverageEnable == TRUE;
ret.m_OM.m_BlendState.IndependentBlend = desc.IndependentBlendEnable == TRUE;