mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Get original ID for D3D11 blend state
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user