mirror of https://github.com/PCSX2/pcsx2.git
GS-hw: Fix pabe regression from renderers merge.
Only OpenGL should disable accumulation and blend mix to allow reading the framebuffer next. Also pabe will only be accurate with non recursive blend on d3d11 only so enable it for it only.
This commit is contained in:
parent
25dd92f8c0
commit
208d3ffa7b
|
@ -643,9 +643,17 @@ void GSRendererNew::EmulateBlending(bool& DATE_GL42, bool& DATE_GL45)
|
|||
if (sw_blending)
|
||||
{
|
||||
GL_INS("PABE mode ENABLED");
|
||||
m_conf.ps.pabe = 1;
|
||||
accumulation_blend = false;
|
||||
blend_mix = false;
|
||||
if (m_dev->Features().texture_barrier)
|
||||
{
|
||||
// Disable hw/sw blend and do pure sw blend with reading the framebuffer.
|
||||
accumulation_blend = false;
|
||||
blend_mix = false;
|
||||
m_conf.ps.pabe = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_conf.ps.pabe = blend_non_recursive;
|
||||
}
|
||||
}
|
||||
else if (ALPHA.A == 0 && ALPHA.B == 1 && ALPHA.C == 0 && ALPHA.D == 1)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue