summaryrefslogtreecommitdiff
path: root/indra/llrender/llglslshader.cpp
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2021-04-29 10:27:09 -0700
committerPtolemy <ptolemy@lindenlab.com>2021-04-29 10:27:09 -0700
commit2908f99510ae91c7099b544693ae7628905d8244 (patch)
treea7e082dfaa53305f08754e4ff2154bf8e18cd16c /indra/llrender/llglslshader.cpp
parent598b547bcfeb21569a1eda8c272f6de665cf372e (diff)
SL-14113: Merge duplicate shader constant for clarity.
Diffstat (limited to 'indra/llrender/llglslshader.cpp')
-rw-r--r--indra/llrender/llglslshader.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/indra/llrender/llglslshader.cpp b/indra/llrender/llglslshader.cpp
index 458f83aabe..74c8b2e448 100644
--- a/indra/llrender/llglslshader.cpp
+++ b/indra/llrender/llglslshader.cpp
@@ -62,20 +62,18 @@ U32 LLGLSLShader::sTotalDrawCalls = 0;
LLGLSLShader gUIProgram;
LLGLSLShader gSolidColorProgram;
-// NOTE:Keep gShaderConsts* and LLGLSLShader::ShaderConsts_e in sync!
+// NOTE: Keep gShaderConsts* and LLGLSLShader::ShaderConsts_e in sync!
const std::string gShaderConstsKey[ LLGLSLShader::NUM_SHADER_CONSTS ] =
{
- "LL_SHADER_CONST_CLOUD_DEPTH"
- , "LL_SHADER_CONST_MOON_DEPTH"
+ "LL_SHADER_CONST_CLOUD_MOON_DEPTH"
, "LL_SHADER_CONST_STAR_DEPTH"
};
-// NOTE:Keep gShaderConsts* and LLGLSLShader::ShaderConsts_e in sync!
+// NOTE: Keep gShaderConsts* and LLGLSLShader::ShaderConsts_e in sync!
const std::string gShaderConstsVal[ LLGLSLShader::NUM_SHADER_CONSTS ] =
{
- "0.999985" // SHADER_CONST_CLOUD_DEPTH // SL-14113
- , "0.999985" // SHADER_CONST_MOON_DEPTH // SL-14113
- , "0.999995" // SHADER_CONST_STAR_DEPTH // SL-14113
+ "0.999985" // SHADER_CONST_CLOUD_MOON_DEPTH // SL-14113
+ , "0.999995" // SHADER_CONST_STAR_DEPTH // SL-14113
};