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 6798a4763e
This commit is contained in:
parent
edc879ce48
commit
2cbefa2905
|
@ -141,6 +141,7 @@ void PixelShaderManager::SetConstants(u32 components)
|
||||||
constants.zbias[1][0] = xfregs.viewport.farZ / 16777216.0f;
|
constants.zbias[1][0] = xfregs.viewport.farZ / 16777216.0f;
|
||||||
constants.zbias[1][1] = xfregs.viewport.zRange / 16777216.0f;
|
constants.zbias[1][1] = xfregs.viewport.zRange / 16777216.0f;
|
||||||
dirty = true;
|
dirty = true;
|
||||||
|
s_bViewPortChanged = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue