From 2d69e487568d891bd4b51ed64635af7fc62ba565 Mon Sep 17 00:00:00 2001 From: Daniel Scharrer Date: Fri, 14 Jan 2022 14:31:19 +0100 Subject: [PATCH] OpenGLUtil: Extend GL_ARB_sample_shading blacklist to Intel Iris Xe GPUs Fixes: issue #1603 --- src/graphics/opengl/OpenGLUtil.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/graphics/opengl/OpenGLUtil.cpp b/src/graphics/opengl/OpenGLUtil.cpp index b0db32e030..e3b58ba2ba 100644 --- a/src/graphics/opengl/OpenGLUtil.cpp +++ b/src/graphics/opengl/OpenGLUtil.cpp @@ -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