Disable lanczos filter also for SandyBridge on Mesa 9.1

Debian gave me an update to 9.1 and I started feeling the pain...
Mesa 9.2 works fine on the same hardware.

REVIEW: 111558
This commit is contained in:
Martin Gräßlin 2013-07-18 11:03:23 +02:00
parent 2fc1ae684b
commit 4ab0a6a223

View file

@ -77,8 +77,8 @@ void LanczosFilter::init()
// The lanczos filter is reported to be broken with the Intel driver prior SandyBridge // The lanczos filter is reported to be broken with the Intel driver prior SandyBridge
if (gl->driver() == Driver_Intel && gl->chipClass() < SandyBridge) if (gl->driver() == Driver_Intel && gl->chipClass() < SandyBridge)
return; return;
// Broken on IvyBridge with Mesa 9.1 - BUG 313613 // Broken on Intel chips with Mesa 9.1 - BUG 313613
if (gl->driver() == Driver_Intel && gl->chipClass() == IvyBridge && gl->mesaVersion() >= kVersionNumber(9, 1) && gl->mesaVersion() < kVersionNumber(9, 2)) if (gl->driver() == Driver_Intel && gl->mesaVersion() >= kVersionNumber(9, 1) && gl->mesaVersion() < kVersionNumber(9, 2))
return; return;
// also radeon before R600 has trouble // also radeon before R600 has trouble
if (gl->isRadeon() && gl->chipClass() < R600) if (gl->isRadeon() && gl->chipClass() < R600)