mirror of
https://github.com/ARMSX2/ARMSX2.git
synced 2026-08-24 16:50:16 -07:00
GS/HW: Enable non recursive sw blending on minimum level.
Blending is free, no barriers/copies, doesn't require reading the fb.
This commit is contained in:
@@ -5932,13 +5932,15 @@ void GSRendererHW::EmulateBlending(int rt_alpha_min, int rt_alpha_max, const boo
|
||||
accumulation_blend &= !prefer_sw_blend;
|
||||
// Enable sw blending for barriers.
|
||||
sw_blending |= blend_requires_barrier || prefer_sw_blend;
|
||||
// Enable sw blending for free blending.
|
||||
// Enable sw blending for free blending (non recursive, accumulation).
|
||||
sw_blending |= free_blend;
|
||||
// Do not run BLEND MIX if sw blending is already present, it's less accurate.
|
||||
blend_mix &= !sw_blending;
|
||||
sw_blending |= blend_mix;
|
||||
[[fallthrough]];
|
||||
case AccBlendLevel::Minimum:
|
||||
// Enable sw blending for non recursive mode.
|
||||
sw_blending |= blend_non_recursive;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user