mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
softjit: Fix dst blend shift.
Example: src * dst.a + dst * one, still requires a shift back.
This commit is contained in:
1 parent
dc90a5a851
commit
6468e0f03e
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user