MAINT-8974 Reduce default settings for intel GPUs in case of failed benchmark

master
andreykproductengine 2018-08-09 15:57:48 +03:00
parent ed17ca7885
commit 1197da3cdf
1 changed files with 5 additions and 0 deletions

View File

@ -461,6 +461,11 @@ bool LLFeatureManager::loadGPUClass()
{
mGPUClass = GPU_CLASS_4;
}
if (gGLManager.mIsIntel && mGPUClass > GPU_CLASS_1)
{
// Intels are generally weaker then other GPUs despite having advanced features
mGPUClass = (EGPUClass)(mGPUClass - 1);
}
#endif
}
else if (gGLManager.mGLVersion <= 2.f)