mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
VideoCommon: remove constants.depthparams[2+3] as they aren't used in the shader at all
This commit is contained in:
parent
f4a9deefa8
commit
2118c1d3c3
3 changed files with 1 additions and 5 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue