Allow Lanczos for SandyBridge

This commit is contained in:
Martin Gräßlin 2012-02-04 11:22:43 +01:00
parent 9c174905d3
commit 139c5bf58b

View file

@ -66,7 +66,7 @@ void LanczosFilter::init()
// The lanczos filter is reported to be broken with the Intel driver and Mesa 7.10 // The lanczos filter is reported to be broken with the Intel driver and Mesa 7.10
GLPlatform *gl = GLPlatform::instance(); GLPlatform *gl = GLPlatform::instance();
if (!force && gl->driver() == Driver_Intel && gl->mesaVersion() >= kVersionNumber(7, 10)) if (!force && gl->driver() == Driver_Intel && gl->mesaVersion() >= kVersionNumber(7, 10) && gl->chipClass() < SandyBridge)
return; return;
// With fglrx the ARB Shader crashes KWin (see Bug #270818 and #286795) and GLSL Shaders are not functional // With fglrx the ARB Shader crashes KWin (see Bug #270818 and #286795) and GLSL Shaders are not functional
if (!force && gl->driver() == Driver_Catalyst) { if (!force && gl->driver() == Driver_Catalyst) {