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 14:17:01 -0700
commit3f4b8423a46bae4736ebcc28082ee1a9d5b71d6b (patch)
tree69631aa8ca147be0ce7779f00b12a185d3b471ab /indra/llrender/llglslshader.cpp
parente371fdbf311e450ac0cc7f4d3fdacc938b489d92 (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
};