diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2023-02-24 09:27:19 -0800 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2023-02-24 09:27:19 -0800 |
commit | a7ecfc9b1907d6ecd5fe50aeb1c41e38540b2665 (patch) | |
tree | 21040a7d709dbdb9c5df1867edddebf7478d33b2 /indra/newview/llviewershadermgr.cpp | |
parent | 6494eed242b1cf64160e379c6d40df333deae23a (diff) |
SL-19228: Remove DEBUG_TEXCOORD
Diffstat (limited to 'indra/newview/llviewershadermgr.cpp')
-rw-r--r-- | indra/newview/llviewershadermgr.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/indra/newview/llviewershadermgr.cpp b/indra/newview/llviewershadermgr.cpp index b866cedaaa..f99dac6ed6 100644 --- a/indra/newview/llviewershadermgr.cpp +++ b/indra/newview/llviewershadermgr.cpp @@ -1321,10 +1321,6 @@ BOOL LLViewerShaderMgr::loadShadersDeferred() gDeferredPBROpaqueProgram.mShaderFiles.push_back(make_pair("deferred/pbropaqueF.glsl", GL_FRAGMENT_SHADER)); gDeferredPBROpaqueProgram.mShaderLevel = mShaderLevel[SHADER_DEFERRED]; gDeferredPBROpaqueProgram.clearPermutations(); - if (gSavedSettings.getBOOL("RenderDebugTexcoord")) - { - gDeferredPBROpaqueProgram.addPermutation("DEBUG_TEXCOORD", "1"); - } success = make_rigged_variant(gDeferredPBROpaqueProgram, gDeferredSkinnedPBROpaqueProgram); if (success) @@ -1361,10 +1357,6 @@ BOOL LLViewerShaderMgr::loadShadersDeferred() gHUDPBROpaqueProgram.mShaderLevel = mShaderLevel[SHADER_DEFERRED]; gHUDPBROpaqueProgram.clearPermutations(); gHUDPBROpaqueProgram.addPermutation("IS_HUD", "1"); - if (gSavedSettings.getBOOL("RenderDebugTexcoord")) - { - gHUDPBROpaqueProgram.addPermutation("DEBUG_TEXCOORD", "1"); - } success = gHUDPBROpaqueProgram.createShader(NULL, NULL); @@ -1408,10 +1400,6 @@ BOOL LLViewerShaderMgr::loadShadersDeferred() { shader->addPermutation("HAS_SUN_SHADOW", "1"); } - if (gSavedSettings.getBOOL("RenderDebugTexcoord")) - { - shader->addPermutation("DEBUG_TEXCOORD", "1"); - } shader->mShaderLevel = mShaderLevel[SHADER_DEFERRED]; success = make_rigged_variant(*shader, gDeferredSkinnedPBRAlphaProgram); @@ -1444,10 +1432,6 @@ BOOL LLViewerShaderMgr::loadShadersDeferred() shader->clearPermutations(); shader->addPermutation("IS_HUD", "1"); - if (gSavedSettings.getBOOL("RenderDebugTexcoord")) - { - shader->addPermutation("DEBUG_TEXCOORD", "1"); - } shader->mShaderLevel = mShaderLevel[SHADER_DEFERRED]; success = shader->createShader(NULL, NULL); |