diff options
author | Merov Linden <merov@lindenlab.com> | 2012-11-26 15:01:57 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2012-11-26 15:01:57 -0800 |
commit | 8076f7a33d7f5ee93d4ba8f71a7ba0fed5e364a7 (patch) | |
tree | 6a7d0f88666e16948e73d1098c99edc7513b6e49 /indra/newview/llviewerstats.cpp | |
parent | 7ca2508cc2adcdc5201bd53e814246e156bc6013 (diff) | |
parent | 890965faf5baa5f6f832e086991d59bb8d33b7bc (diff) |
Pull merge from richard/viewer-chui
Diffstat (limited to 'indra/newview/llviewerstats.cpp')
-rwxr-xr-x | indra/newview/llviewerstats.cpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/indra/newview/llviewerstats.cpp b/indra/newview/llviewerstats.cpp index d1c6b7ea79..603634e5f3 100755 --- a/indra/newview/llviewerstats.cpp +++ b/indra/newview/llviewerstats.cpp @@ -787,7 +787,7 @@ void send_stats() "%-6s Class %d ", gGLManager.mGLVendorShort.substr(0,6).c_str(), (S32)LLFeatureManager::getInstance()->getGPUClass()) - + LLFeatureManager::getInstance()->getGPUString(); + + gGLManager.getRawGLString(); system["gpu"] = gpu_desc; system["gpu_class"] = (S32)LLFeatureManager::getInstance()->getGPUClass(); @@ -798,7 +798,18 @@ void send_stats() S32 shader_level = 0; if (LLPipeline::sRenderDeferred) { - shader_level = 3; + if (LLPipeline::RenderShadowDetail > 0) + { + shader_level = 5; + } + else if (LLPipeline::RenderDeferredSSAO) + { + shader_level = 4; + } + else + { + shader_level = 3; + } } else if (gPipeline.canUseWindLightShadersOnObjects()) { |