GS:HW: blend_mix doesn't get you fast hdr

It didn't before either, it just accidentally turned on full barriers
This commit is contained in:
TellowKrinkle 2022-10-15 22:34:05 -05:00 committed by refractionpcsx2
parent f836fe2056
commit 8981572674
1 changed files with 3 additions and 1 deletions

View File

@ -2764,7 +2764,7 @@ void GSRendererHW::EmulateBlending(bool& DATE_PRIMID, bool& DATE_BARRIER, bool&
accumulation_blend = false; accumulation_blend = false;
blend_mix = false; blend_mix = false;
} }
else if (accumulation_blend || blend_mix) else if (accumulation_blend)
{ {
// A fast algo that requires 2 passes // A fast algo that requires 2 passes
GL_INS("COLCLIP Fast HDR mode ENABLED"); GL_INS("COLCLIP Fast HDR mode ENABLED");
@ -3738,6 +3738,8 @@ void GSRendererHW::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sourc
m_conf.require_one_barrier = false; m_conf.require_one_barrier = false;
m_conf.require_full_barrier = false; m_conf.require_full_barrier = false;
} }
// Multi-pass algorithms shouldn't be needed with full barrier and backends may not handle this correctly
ASSERT(!m_conf.require_full_barrier || !m_conf.ps.hdr);
// Swap full barrier for one barrier when there's no overlap. // Swap full barrier for one barrier when there's no overlap.
if (m_conf.require_full_barrier && m_prim_overlap == PRIM_OVERLAP_NO) if (m_conf.require_full_barrier && m_prim_overlap == PRIM_OVERLAP_NO)