mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 15:00:30 +02:00
DOUBLEINVSRCALPHA and DOUBLEINVDSTALPHA are 255 - 2a without a clamp: for a >= 128 the factor is negative and its term subtracts, -(((2c + 1) * (2|f| + 1)) >> 10), with only the sum clamped. Measured with every factor and equation against a CPU-filled destination (gpu/probe exp116, all exact). The x86 jit clamps the factors at 0, so these blends use the C++ pixel function. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>