mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Set a bit to account for fixa/fixb/etc. logic.
This commit is contained in:
parent
b8a2410934
commit
0eae30dddb
1 changed files with 5 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue