VideoCommon: remove constants.depthparams[2+3] as they aren't used in the shader at all

This commit is contained in:
degasus
2013-10-15 14:13:29 +02:00
parent f4a9deefa8
commit 2118c1d3c3
3 changed files with 1 additions and 5 deletions

View File

@ -378,8 +378,6 @@ void VertexShaderManager::SetConstants()
bViewportChanged = false;
constants.depthparams[0] = xfregs.viewport.farZ / 16777216.0f;
constants.depthparams[1] = xfregs.viewport.zRange / 16777216.0f;
constants.depthparams[2] = -1.f / g_renderer->EFBToScaledX(ceilf(2.0f * xfregs.viewport.wd));
constants.depthparams[3] = 1.f / g_renderer->EFBToScaledY(ceilf(-2.0f * xfregs.viewport.ht));
dirty = true;
// This is so implementation-dependent that we can't have it here.
UpdateViewport();