Set a bit to account for fixa/fixb/etc. logic.

This commit is contained in:
Unknown W. Brackets committed 2014-05-27 01:45:20 -07:00
1 parent b8a2410934
commit 0eae30dddb
1 file changed
+5 -4
+5 -4
View File
@@ -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);
}
}