summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2019-01-30 14:37:24 -0800
committerRider Linden <rider@lindenlab.com>2019-01-30 14:37:24 -0800
commitafe5578315fa379b2078b2309bcace0a0b6f3798 (patch)
tree3cd3072813e7230ca992d89af9960844ccd78a86 /indra/llrender
parentc7e02b0835cbb50777c677f618c4a957e69fabee (diff)
parent16b47db736fed0995eaeeed77ba4dd0d310f1072 (diff)
Merge
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llglslshader.cpp1
-rw-r--r--indra/llrender/llglslshader.h1
-rw-r--r--indra/llrender/llshadermgr.cpp8
3 files changed, 0 insertions, 10 deletions
diff --git a/indra/llrender/llglslshader.cpp b/indra/llrender/llglslshader.cpp
index 4dae61e185..528f23b3ee 100644
--- a/indra/llrender/llglslshader.cpp
+++ b/indra/llrender/llglslshader.cpp
@@ -80,7 +80,6 @@ LLShaderFeatures::LLShaderFeatures()
, hasGamma(false)
, hasSrgb(false)
, encodesNormal(false)
- , decodesNormal(false)
, isDeferred(false)
, hasIndirect(false)
, hasShadows(false)
diff --git a/indra/llrender/llglslshader.h b/indra/llrender/llglslshader.h
index 56d322fe6c..c06668eb43 100644
--- a/indra/llrender/llglslshader.h
+++ b/indra/llrender/llglslshader.h
@@ -52,7 +52,6 @@ public:
bool hasAmbientOcclusion;
bool hasSrgb;
bool encodesNormal;
- bool decodesNormal;
bool isDeferred;
bool hasIndirect;
S32 mIndexedTextureChannels;
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp
index 9db8fd1f05..2076947a00 100644
--- a/indra/llrender/llshadermgr.cpp
+++ b/indra/llrender/llshadermgr.cpp
@@ -253,14 +253,6 @@ BOOL LLShaderMgr::attachShaderFeatures(LLGLSLShader * shader)
}
}
- if (features->decodesNormal)
- {
- if (!shader->attachObject("environment/decodeNormF.glsl"))
- {
- return FALSE;
- }
- }
-
if (features->hasAtmospherics)
{
if (!shader->attachObject("windlight/atmosphericsF.glsl"))