summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorDave Houlton <euclid@lindenlab.com>2020-01-24 17:26:20 -0700
committerDave Houlton <euclid@lindenlab.com>2020-01-29 10:18:51 -0700
commit18cdf4d2693c0b859a5378e251b1368975f62395 (patch)
tree51c652ff8233c74954874eafaac6a8524cebf724 /indra/newview/pipeline.cpp
parent195f69f603613c3270050169c6a42f84307f8163 (diff)
SL-12594, remove Basic Shader checks
Remove checks for Vertex Shader capability and UI selection of no Basic Shaders.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 0395bf1a71..349f2a761c 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -1407,12 +1407,9 @@ void LLPipeline::restoreGL()
bool LLPipeline::canUseVertexShaders()
{
- static const std::string vertex_shader_enable_feature_string = "VertexShaderEnable";
-
if (sDisableShaders ||
!gGLManager.mHasVertexShader ||
!gGLManager.mHasFragmentShader ||
- !LLFeatureManager::getInstance()->isFeatureAvailable(vertex_shader_enable_feature_string) ||
(assertInitialized() && mVertexShadersLoaded != 1) )
{
return false;