mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-05 07:27:02 +00:00
Merge pull request #4322 from unknownbrackets/gpu-minor
Make sure frag shader ID matches generated code
This commit is contained in:
commit
1507358b45
@ -176,10 +176,10 @@ void ComputeFragmentShaderID(FragmentShaderID *id) {
|
||||
}
|
||||
|
||||
id->d[0] |= (lmode & 1) << 7;
|
||||
id->d[0] |= gstate.isAlphaTestEnabled() << 8;
|
||||
id->d[0] |= enableAlphaTest << 8;
|
||||
if (enableAlphaTest)
|
||||
id->d[0] |= gstate.getAlphaTestFunction() << 9;
|
||||
id->d[0] |= gstate.isColorTestEnabled() << 12;
|
||||
id->d[0] |= enableColorTest << 12;
|
||||
if (enableColorTest)
|
||||
id->d[0] |= gstate.getColorTestFunction() << 13; // color test func
|
||||
id->d[0] |= (enableFog & 1) << 15;
|
||||
|
Loading…
Reference in New Issue
Block a user