mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 15:55:31 +01: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:
parent
7f01139d13
commit
4137f287fd
@ -124,6 +124,7 @@ void GetPixelShaderId(PIXELSHADERUID *uid, DSTALPHA_MODE dstAlphaMode)
|
|||||||
{
|
{
|
||||||
// Courtesy of PreAlphaTest, we're done already ;)
|
// Courtesy of PreAlphaTest, we're done already ;)
|
||||||
// TODO: There's a comment including bpmem.genmode.numindstages.. shouldnt really bother about that though.
|
// TODO: There's a comment including bpmem.genmode.numindstages.. shouldnt really bother about that though.
|
||||||
|
uid->tevstages = 1;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user