Fix a critical bug which caused shaders to be redundantly recompiled when disabling per-pixel depth.
As a nice side effect, the number of redundant shader compilations is now next to zero ;)
This commit is contained in:
parent
7f01139d13
commit
4137f287fd
|
@ -124,6 +124,7 @@ void GetPixelShaderId(PIXELSHADERUID *uid, DSTALPHA_MODE dstAlphaMode)
|
|||
{
|
||||
// Courtesy of PreAlphaTest, we're done already ;)
|
||||
// TODO: There's a comment including bpmem.genmode.numindstages.. shouldnt really bother about that though.
|
||||
uid->tevstages = 1;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue