mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
softjit: Fix src blend factor handling.
This was causing us to skip a shift, oops.
This commit is contained in:
parent
c1b8fb737e
commit
6c723c0517
@ -660,7 +660,7 @@ void ComputePixelBlendState(PixelBlendState &state, const PixelFuncID &id) {
|
||||
|
||||
case PixelBlendFactor::OTHERCOLOR:
|
||||
case PixelBlendFactor::INVOTHERCOLOR:
|
||||
state.dstColorAsFactor = true;
|
||||
state.srcColorAsFactor = true;
|
||||
break;
|
||||
|
||||
case PixelBlendFactor::SRCALPHA:
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 455fb613edc884d9ae54a95b5393ee35b964902f
|
||||
Subproject commit 8d7eac4f5a5e38f6fe43cfe7c49dd961a9f32244
|
2
test.py
2
test.py
@ -134,6 +134,7 @@ tests_good = [
|
||||
"gpu/clut/offset",
|
||||
"gpu/clut/shifts",
|
||||
"gpu/commands/basic",
|
||||
"gpu/commands/blend",
|
||||
"gpu/commands/blocktransfer",
|
||||
"gpu/commands/material",
|
||||
"gpu/dither/dither",
|
||||
@ -374,7 +375,6 @@ tests_next = [
|
||||
"font/shadowglyphimageclip",
|
||||
"font/shadowinfo",
|
||||
"gpu/clipping/guardband",
|
||||
"gpu/commands/blend",
|
||||
"gpu/commands/blend565",
|
||||
"gpu/commands/cull",
|
||||
"gpu/commands/light",
|
||||
|
Loading…
Reference in New Issue
Block a user