summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorRye <rye@lindenlab.com>2024-12-10 02:31:05 -0500
committerRye <rye@lindenlab.com>2024-12-11 08:49:38 -0800
commitf8fad89dd00f5c5c0690dc5e2619b9a95026666c (patch)
tree2e96f8cf137df7ac7f1788dd8aee127c67529265 /indra/llrender
parent0dda1b019985312b88cc72fb3bec44e73a6c666b (diff)
Fix mesa failing to link shaders due to missing vertex shader outputs
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llshadermgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp
index 254ead2bd8..0885740934 100644
--- a/indra/llrender/llshadermgr.cpp
+++ b/indra/llrender/llshadermgr.cpp
@@ -79,7 +79,7 @@ bool LLShaderMgr::attachShaderFeatures(LLGLSLShader * shader)
//////////////////////////////////////
// NOTE order of shader object attaching is VERY IMPORTANT!!!
- if (features->calculatesAtmospherics)
+ if (features->calculatesAtmospherics || features->hasGamma || features->isDeferred)
{
if (!shader->attachVertexObject("windlight/atmosphericsVarsV.glsl"))
{