summaryrefslogtreecommitdiff
path: root/indra/llrender/llglslshader.cpp
diff options
context:
space:
mode:
authorGraham Linden graham@lindenlab.com <Graham Linden graham@lindenlab.com>2018-02-26 16:38:50 +0000
committerGraham Linden graham@lindenlab.com <Graham Linden graham@lindenlab.com>2018-02-26 16:38:50 +0000
commit6303ef5763393021d35c55a012cacfa7ee8c650e (patch)
tree01912486f86a81946bdb23ea07327804ee789056 /indra/llrender/llglslshader.cpp
parent6cc4a091b3ba4dd4842cc06e3b34af3d04dc5796 (diff)
Redo advanced atmo shader integration with SL.
Diffstat (limited to 'indra/llrender/llglslshader.cpp')
-rw-r--r--indra/llrender/llglslshader.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llrender/llglslshader.cpp b/indra/llrender/llglslshader.cpp
index b09ec53bc0..a5939a6eb9 100644
--- a/indra/llrender/llglslshader.cpp
+++ b/indra/llrender/llglslshader.cpp
@@ -374,6 +374,8 @@ void LLGLSLShader::unloadInternal()
stop_glerror();
}
+#pragma optimize("", off)
+
BOOL LLGLSLShader::createShader(std::vector<LLStaticHashedString> * attributes,
std::vector<LLStaticHashedString> * uniforms,
U32 varying_count,
@@ -490,6 +492,8 @@ BOOL LLGLSLShader::createShader(std::vector<LLStaticHashedString> * attributes,
return success;
}
+#pragma optimize("", on)
+
BOOL LLGLSLShader::attachObject(std::string object)
{
if (LLShaderMgr::instance()->mShaderObjects.count(object) > 0)