1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00

Remove unused uniform uDepthScale from GLES2 shaders.

This commit is contained in:
Sergey Lipskiy 2016-06-08 14:14:14 +06:00
parent c796dcd5d9
commit c9615e9164
2 changed files with 0 additions and 8 deletions

View File

@ -259,7 +259,6 @@ void ShaderCombiner::_locateUniforms() {
LocateUniform(uRenderState);
LocateUniform(uScreenScale);
LocateUniform(uDepthScale);
LocateUniform(uFogScale);
LocateUniform(uBlendMux1);
@ -422,11 +421,6 @@ void ShaderCombiner::updateFrameBufferInfo(bool _bForce) {
}
void ShaderCombiner::updateDepthInfo(bool _bForce) {
if (RSP.bLLE)
m_uniforms.uDepthScale.set(0.5f, 0.5f, _bForce);
else
m_uniforms.uDepthScale.set(gSP.viewport.vscale[2], gSP.viewport.vtrans[2], _bForce);
if (config.frameBufferEmulation.N64DepthCompare == 0 || !video().getRender().isImageTexturesSupported())
return;

View File

@ -163,7 +163,6 @@ SHADER_VERSION
"uniform lowp int uCvgXAlpha; \n"
"uniform lowp int uAlphaCvgSel; \n"
"uniform lowp float uAlphaTestValue;\n"
"uniform mediump vec2 uDepthScale; \n"
"uniform lowp ivec4 uBlendMux1; \n"
"uniform lowp int uForceBlendCycle1;\n"
"IN lowp vec4 vShadeColor; \n"
@ -199,7 +198,6 @@ SHADER_VERSION
"uniform lowp int uCvgXAlpha; \n"
"uniform lowp int uAlphaCvgSel; \n"
"uniform lowp float uAlphaTestValue;\n"
"uniform mediump vec2 uDepthScale; \n"
"uniform lowp ivec4 uBlendMux1; \n"
"uniform lowp int uForceBlendCycle1;\n"
"IN lowp vec4 vShadeColor; \n"