summaryrefslogtreecommitdiff
path: root/indra/newview/llfeaturemanager.cpp
diff options
context:
space:
mode:
authorRunitai Linden <davep@lindenlab.com>2022-01-24 11:04:11 -0600
committerRunitai Linden <davep@lindenlab.com>2022-01-24 11:04:11 -0600
commit9c7ec66d248369ebfb589a9c84cf951f8d4b93b5 (patch)
tree4344cf8ba7b16435795eaaa8994a511343e4bcbb /indra/newview/llfeaturemanager.cpp
parent6721b96f03c5e07884454f2110bbc73f7add8ed5 (diff)
SL-16691 Add GPU memory bandwidth to ViewerStats
Diffstat (limited to 'indra/newview/llfeaturemanager.cpp')
-rw-r--r--indra/newview/llfeaturemanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfeaturemanager.cpp b/indra/newview/llfeaturemanager.cpp
index c3780e42c6..0813057714 100644
--- a/indra/newview/llfeaturemanager.cpp
+++ b/indra/newview/llfeaturemanager.cpp
@@ -419,6 +419,8 @@ bool LLFeatureManager::loadGPUClass()
LL_WARNS("RenderInit") << "GPU benchmark failed: " << e.what() << LL_ENDL;
}
+ mGPUMemoryBandwidth = gbps;
+
// bias by CPU speed
F32 cpu_basis_mhz = gSavedSettings.getF32("RenderCPUBasis");
F32 cpu_mhz = (F32) gSysCPU.getMHz();