Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
PixelShaderManager: clear s_bViewPortChanged flag
This flag wasn't cleared at all, so we set our constants dirty every time...

This could fix some performance regressions because of revision 6798a47
  • Loading branch information
degasus committed Dec 3, 2013
1 parent edc879c commit 2cbefa2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/VideoCommon/Src/PixelShaderManager.cpp
Expand Up @@ -141,6 +141,7 @@ void PixelShaderManager::SetConstants(u32 components)
constants.zbias[1][0] = xfregs.viewport.farZ / 16777216.0f;
constants.zbias[1][1] = xfregs.viewport.zRange / 16777216.0f;
dirty = true;
s_bViewPortChanged = false;
}
}

Expand Down

0 comments on commit 2cbefa2

Please sign in to comment.