diff options
author | Graham Linden <graham@lindenlab.com> | 2018-11-06 19:33:04 +0000 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2018-11-06 19:33:04 +0000 |
commit | 2929998982f37221a58b9fa8037748a2e905f4b1 (patch) | |
tree | 24cc0c3da6655e9ed98908baa524e72068fbd64d /indra/llrender/llglslshader.cpp | |
parent | 8c1aefc17c710b55ed7a72bd9de14cbed58ccd31 (diff) |
Move to using a shared deferredUtil object for getting pos/norm from gbuffer.
Eliminate 20+ callsites with copy-paste of getPosition and/or getNorm code.
Make pipeline use getShadowTarget/releaseShadowTarget consistently.
Diffstat (limited to 'indra/llrender/llglslshader.cpp')
-rw-r--r-- | indra/llrender/llglslshader.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llrender/llglslshader.cpp b/indra/llrender/llglslshader.cpp index de15d1d75b..585f8f6504 100644 --- a/indra/llrender/llglslshader.cpp +++ b/indra/llrender/llglslshader.cpp @@ -81,6 +81,9 @@ LLShaderFeatures::LLShaderFeatures() , hasSrgb(false) , encodesNormal(false) , decodesNormal(false) + , isDeferred(false) + , hasIndirect(false) + , hasShadows(false) , mIndexedTextureChannels(0) , disableTextureIndex(false) , hasAlphaMask(false) |