diff options
author | Dave Parks <davep@lindenlab.com> | 2013-03-04 18:06:29 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2013-03-04 18:06:29 -0600 |
commit | 586025bde53ffcd160a9d169cca328ed5078f5f4 (patch) | |
tree | 1f59d27d08567fd5f3fe02ce42fe6bae37bd3b2c /indra/newview/llviewershadermgr.h | |
parent | 3ee3c3ced32bd1e67a6bea51341734c8764df018 (diff) | |
parent | 609ed855e1160505238378a1be49e2b92e8496f5 (diff) |
Automated merge with https://bitbucket.org/lindenlab/viewer-cat
Diffstat (limited to 'indra/newview/llviewershadermgr.h')
-rw-r--r-- | indra/newview/llviewershadermgr.h | 69 |
1 files changed, 1 insertions, 68 deletions
diff --git a/indra/newview/llviewershadermgr.h b/indra/newview/llviewershadermgr.h index 999baa0ad0..dd1325277c 100644 --- a/indra/newview/llviewershadermgr.h +++ b/indra/newview/llviewershadermgr.h @@ -74,56 +74,7 @@ public: SHADER_COUNT }; - typedef enum - { - SHINY_ORIGIN = END_RESERVED_UNIFORMS - } eShinyUniforms; - - typedef enum - { - WATER_SCREENTEX = END_RESERVED_UNIFORMS, - WATER_SCREENDEPTH, - WATER_REFTEX, - WATER_EYEVEC, - WATER_TIME, - WATER_WAVE_DIR1, - WATER_WAVE_DIR2, - WATER_LIGHT_DIR, - WATER_SPECULAR, - WATER_SPECULAR_EXP, - WATER_FOGCOLOR, - WATER_FOGDENSITY, - WATER_REFSCALE, - WATER_WATERHEIGHT, - } eWaterUniforms; - - typedef enum - { - WL_CAMPOSLOCAL = END_RESERVED_UNIFORMS, - WL_WATERHEIGHT - } eWLUniforms; - - typedef enum - { - TERRAIN_DETAIL0 = END_RESERVED_UNIFORMS, - TERRAIN_DETAIL1, - TERRAIN_DETAIL2, - TERRAIN_DETAIL3, - TERRAIN_ALPHARAMP - } eTerrainUniforms; - - typedef enum - { - GLOW_DELTA = END_RESERVED_UNIFORMS - } eGlowUniforms; - - typedef enum - { - AVATAR_MATRIX = END_RESERVED_UNIFORMS, - AVATAR_WIND, - AVATAR_SINWAVE, - AVATAR_GRAVITY, - } eAvatarUniforms; + // simple model of forward iterator // http://www.sgi.com/tech/stl/ForwardIterator.html @@ -176,26 +127,8 @@ public: /* virtual */ void updateShaderUniforms(LLGLSLShader * shader); private: - - typedef std::vector< LLStaticHashedString > UniformVec; UniformVec mShinyUniforms; - - //water parameters - UniformVec mWaterUniforms; - - UniformVec mWLUniforms; - - //terrain parameters - UniformVec mTerrainUniforms; - - //glow parameters - UniformVec mGlowUniforms; - - UniformVec mGlowExtractUniforms; - - UniformVec mAvatarUniforms; - // the list of shaders we need to propagate parameters to. std::vector<LLGLSLShader *> mShaderList; |