GS/HW: Prefer SW blend over HDR for colclip without overlap

This commit is contained in:
Stenzek 2024-06-28 23:14:53 +10:00 committed by Connor McLaughlin
parent 3cfd4a7958
commit 6600d09966
1 changed files with 1 additions and 7 deletions

View File

@ -4376,13 +4376,7 @@ void GSRendererHW::EmulateBlending(int rt_alpha_min, int rt_alpha_max, bool& DAT
// Color clip
if (COLCLAMP.CLAMP == 0)
{
bool free_colclip = false;
if (features.framebuffer_fetch)
free_colclip = true;
else if (features.texture_barrier)
free_colclip = no_prim_overlap || blend_non_recursive;
else
free_colclip = blend_non_recursive;
const bool free_colclip = features.framebuffer_fetch || no_prim_overlap || blend_non_recursive;
GL_DBG("COLCLIP Info (Blending: %u/%u/%u/%u, OVERLAP: %d)", m_conf.ps.blend_a, m_conf.ps.blend_b, m_conf.ps.blend_c, m_conf.ps.blend_d, m_prim_overlap);
if (color_dest_blend || color_dest_blend2)