mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: remove unsafe fbmask of the free SW blending
Initially it was free to do the SW blending because safe fbmask will already do a sw blending. Unsafe version uses a fast path with a limited blending. Therefore SW blending isn't free anymore. Improve the speed of the previous speed hack (xenosaga 1)
This commit is contained in:
parent
bb15e54438
commit
24be4b4969
|
@ -387,7 +387,7 @@ bool GSRendererOGL::EmulateBlending(GSDeviceOGL::PSSelector& ps_sel, bool DATE_G
|
|||
((ALPHA.C == 0 && m_vt.m_alpha.max > 128) || (ALPHA.C == 2 && ALPHA.FIX > 128u));
|
||||
case ACC_BLEND_CCLIP_DALPHA: sw_blending |= (ALPHA.C == 1) || (m_env.COLCLAMP.CLAMP == 0);
|
||||
case ACC_BLEND_SPRITE: sw_blending |= m_vt.m_primclass == GS_SPRITE_CLASS;
|
||||
case ACC_BLEND_FREE: sw_blending |= ps_sel.fbmask || impossible_or_free_blend;
|
||||
case ACC_BLEND_FREE: sw_blending |= (ps_sel.fbmask && !m_unsafe_fbmask) || impossible_or_free_blend; // blending is only free when we use slow fbmask
|
||||
default: sw_blending |= accumulation_blend;
|
||||
}
|
||||
// SW Blending
|
||||
|
|
Loading…
Reference in New Issue