mirror of https://github.com/PCSX2/pcsx2.git
GS-hw: Improve how we handle blending when output is Cd.
Disable hw blending on Cd output, Disable rgb write on Cd output.
This commit is contained in:
parent
2d08d3dc94
commit
784e090081
|
@ -773,9 +773,14 @@ void GSRendererNew::EmulateBlending(bool& DATE_PRIMID, bool& DATE_BARRIER)
|
||||||
#endif
|
#endif
|
||||||
if (color_dest_blend)
|
if (color_dest_blend)
|
||||||
{
|
{
|
||||||
// Blend output will be Cd, no need to set Af.
|
// Blend output will be Cd, disable hw/sw blending.
|
||||||
m_conf.blend = {blend_index, 0, ALPHA.C == 2, false, false};
|
m_conf.blend = {};
|
||||||
sw_blending = false; // DATE_PRIMID
|
sw_blending = false; // DATE_PRIMID
|
||||||
|
|
||||||
|
// Output is Cd, set rgb write to 0.
|
||||||
|
m_conf.colormask.wr = 0;
|
||||||
|
m_conf.colormask.wg = 0;
|
||||||
|
m_conf.colormask.wb = 0;
|
||||||
}
|
}
|
||||||
else if (sw_blending)
|
else if (sw_blending)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue