mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 11:24:27 +01:00
Set a bit to account for fixa/fixb/etc. logic.
This commit is contained in:
1 parent
b8a2410934
commit
0eae30dddb
1 file changed
+5
-4
@@ -399,10 +399,11 @@ void ComputeFragmentShaderID(FragmentShaderID *id) {
|
||||
gpuStats.numNonAlphaTestedDraws++;
|
||||
|
||||
if (ShouldUseShaderBlending()) {
|
||||
// 11 bits total.
|
||||
id1 |= (gstate.getBlendEq() << 0);
|
||||
id1 |= (gstate.getBlendFuncA() << 3);
|
||||
id1 |= (gstate.getBlendFuncB() << 7);
|
||||
// 12 bits total.
|
||||
id1 |= 1;
|
||||
id1 |= (gstate.getBlendEq() << 1);
|
||||
id1 |= (gstate.getBlendFuncA() << 4);
|
||||
id1 |= (gstate.getBlendFuncB() << 8);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user