softjit: Fix dst blend shift.

Example: src * dst.a + dst * one, still requires a shift back.
This commit is contained in:
Unknown W. Brackets committed 2022-09-29 22:31:50 -07:00
1 parent dc90a5a851
commit 6468e0f03e
1 file changed
+1 -1
+1 -1
View File
@@ -1159,7 +1159,7 @@ bool PixelJitCache::Jit_AlphaBlend(const PixelFuncID &id) {
if (id.AlphaBlendEq() == GE_BLENDMODE_MUL_AND_SUBTRACT_REVERSE)
PXOR(dstReg, R(dstReg));
} else if (id.AlphaBlendDst() == PixelBlendFactor::ONE) {
if (blendState.dstColorAsFactor)
if (blendState.dstColorAsFactor || blendState.usesDstAlpha)
PSRLW(dstReg, 4);
}