mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user