diff options
author | Graham Madarasz <graham@lindenlab.com> | 2013-05-01 14:53:59 -0700 |
---|---|---|
committer | Graham Madarasz <graham@lindenlab.com> | 2013-05-01 14:53:59 -0700 |
commit | ef7c661dc02458b5920ccbc11a565d8cae9b9de0 (patch) | |
tree | 976c3268c3dae973cc0f3c9aac39ed8de9632402 /indra | |
parent | 78004e74f2343010d64c58b0cb026213e614f234 (diff) |
More informative light func tex binding message
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/pipeline.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index ee864740a0..a002823e7a 100755 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -7833,11 +7833,12 @@ void LLPipeline::bindDeferredShader(LLGLSLShader& shader, U32 light_index, U32 n channel = shader.enableTexture(LLShaderMgr::DEFERRED_LIGHTFUNC); if (channel > -1) { + llinfos << "Shader " << shader.mName << " binding light func texture on uniform index " << channel << llendl; gGL.getTexUnit(channel)->bindManual(LLTexUnit::TT_TEXTURE, mLightFunc); } else { - llinfos << "Failed to bind light func texture. Ugly lighting dead ahead!" << llendl; + llinfos << "Shader " << shader.mName << " failed to bind light func texture. Ugly lighting dead ahead!" << llendl; } stop_glerror(); |