softjit: Fix src blend factor handling.

This was causing us to skip a shift, oops.
This commit is contained in:
Unknown W. Brackets 2022-01-24 00:05:00 -08:00
parent c1b8fb737e
commit 6c723c0517
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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",