Skip to content

Commit

Permalink
OpenGLUtil: Extend Intel GL_ARB_sample_shading blacklist
Browse files Browse the repository at this point in the history
Relax render string match to cover all "Intel(R) HD Graphics" devices
with driver version 10.18.10.*.

Fixes: issue #1568 (hopefully)
(cherry picked from commit 7696990)
  • Loading branch information
dscharrer committed Aug 12, 2021
1 parent 4e3af2d commit ce53cb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/graphics/opengl/OpenGLUtil.cpp
Expand Up @@ -101,14 +101,14 @@ OpenGLInfo::OpenGLInfo()
// with device "Intel(R) HD Graphics 4000" and versions "4.0.0 - Build 10.18.10.4276" and …".4252".
// Other build numbers in similar-looking but unconfirmed crashes are 4358, 4653, 4885, 5059, 5069, 5129
// and 5146 and for some of them the renderer does not have the " 4000" suffix.
// There are also undiagnosed crash reports with device "Intel(R) HD Graphics 2500" and build number 5161.
//
// Note that there are also (other) crashes (most on shutdown) with matching driver versions seen in
// http://arx.vg/645 and duplicates, before Crisp Alpha Cutout AA was added so other functionality may
// also be buggy with this driver.
#if ARX_PLATFORM == ARX_PLATFORM_WIN32
if(!isES() && boost::equals(vendor(), "Intel")
&& (boost::equals(renderer(), "Intel(R) HD Graphics")
|| boost::equals(renderer(), "Intel(R) HD Graphics 4000"))
&& boost::starts_with(renderer(), "Intel(R) HD Graphics")
&& boost::contains(versionString(), "Build 10.18.10.")) {
m_extensionOverrides.push_back("-GL_ARB_sample_shading");
}
Expand Down

0 comments on commit ce53cb5

Please sign in to comment.