Skip to content

Commit

Permalink
OpenGLUtil: Extend GL_ARB_sample_shading blacklist to Intel Iris Xe GPUs
Browse files Browse the repository at this point in the history
Fixes: issue #1603
  • Loading branch information
dscharrer committed Jan 14, 2022
1 parent 21aabf9 commit 2d69e48
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/graphics/opengl/OpenGLUtil.cpp
Expand Up @@ -106,10 +106,15 @@ OpenGLInfo::OpenGLInfo()
// 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.
//
// For Intel's Iris Xe drivers, it no longer crashes but causes the screen to be black instead.
// See bug http://arx.vg/1603 (2022)
#if ARX_PLATFORM == ARX_PLATFORM_WIN32
if(!isES() && boost::equals(vendor(), "Intel")
&& boost::starts_with(renderer(), "Intel(R) HD Graphics")
&& boost::contains(versionString(), "Build 10.18.10.")) {
if(!isES() && boost::equals(vendor(), "Intel") &&
((boost::starts_with(renderer(), "Intel(R) HD Graphics") &&
boost::contains(versionString(), "Build 10.18.10.")) ||
(boost::starts_with(renderer(), "Intel(R) Iris(R) Xe Graphics") &&
boost::contains(versionString(), "Build 27.20.100.")))) {
m_extensionOverrides.emplace_back("-GL_ARB_sample_shading");
}
#endif
Expand Down

0 comments on commit 2d69e48

Please sign in to comment.