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.h | |
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.h')
-rw-r--r-- | indra/llrender/llglslshader.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llrender/llglslshader.h b/indra/llrender/llglslshader.h index 0934ceba30..ed13106bfd 100644 --- a/indra/llrender/llglslshader.h +++ b/indra/llrender/llglslshader.h @@ -48,9 +48,12 @@ public: bool hasObjectSkinning; bool hasAtmospherics; bool hasGamma; + bool hasShadows; bool hasSrgb; bool encodesNormal; bool decodesNormal; + bool isDeferred; + bool hasIndirect; S32 mIndexedTextureChannels; bool disableTextureIndex; bool hasAlphaMask; @@ -227,5 +230,4 @@ extern LLGLSLShader gSolidColorProgram; //Alpha mask shader (declared here so llappearance can access properly) extern LLGLSLShader gAlphaMaskProgram; - #endif |