mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
d3d12: Check blend and depth stencil state when evaluating pso equality
This commit is contained in:
parent
5f46b32616
commit
b2ad49bac8
1 changed files with 5 additions and 1 deletions
|
@ -37,7 +37,11 @@ struct D3D12PipelineProperties
|
||||||
if (a.SemanticIndex != b.SemanticIndex)
|
if (a.SemanticIndex != b.SemanticIndex)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// TODO: blend and depth stencil
|
|
||||||
|
if (memcmp(&DepthStencil, &in.DepthStencil, sizeof(D3D12_DEPTH_STENCIL_DESC)))
|
||||||
|
return false;
|
||||||
|
if (memcmp(&Blend, &in.Blend, sizeof(D3D12_BLEND_DESC)))
|
||||||
|
return false;
|
||||||
return Topology == in.Topology && DepthStencilFormat == in.DepthStencilFormat && numMRT == in.numMRT;
|
return Topology == in.Topology && DepthStencilFormat == in.DepthStencilFormat && numMRT == in.numMRT;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue