Skip to content
Snippets Groups Projects
Commit 4ee98e1f authored by Graham Linden's avatar Graham Linden
Browse files

Attempt to thread needle for guesstimation phase of GPU classification

parent acd0a5ed
No related branches found
No related tags found
No related merge requests found
......@@ -452,31 +452,31 @@ bool LLFeatureManager::loadGPUClass()
}
#endif
}
else if (gGLManager.mGLVersion < 2.f)
else if (gGLManager.mGLVersion <= 2.f)
{
mGPUClass = GPU_CLASS_0;
}
else if (gGLManager.mGLVersion < 3.f)
else if (gGLManager.mGLVersion <= 3.f)
{
mGPUClass = GPU_CLASS_1;
}
else if (gbps < 5.f)
else if (gbps <= 5.f)
{
mGPUClass = GPU_CLASS_0;
}
else if (gbps < 16.f)
else if (gbps <= 8.f)
{
mGPUClass = GPU_CLASS_1;
}
else if (gbps < 32.f)
else if (gbps <= 16.f)
{
mGPUClass = GPU_CLASS_2;
}
else if (gbps < 40.f)
else if (gbps <= 40.f)
{
mGPUClass = GPU_CLASS_3;
}
else if (gbps < 80.f)
else if (gbps <= 80.f)
{
mGPUClass = GPU_CLASS_4;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment