From 1f52366fc1ee617d8dc74bf45767a67ed940bac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 12 Jun 2012 22:34:29 +0200 Subject: [PATCH] Disable ARB Lanczos Shader for Intel GPUs For Sandybridge Lanczos Shader is enabled, but only GLSL is working so the ARB variant has to be disabled for Intel GPUs. BUG: 301729 FIXED-IN: 4.9.0 REVIEW: 105233 --- lanczosfilter.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lanczosfilter.cpp b/lanczosfilter.cpp index 69b9708b9b..295e946e20 100644 --- a/lanczosfilter.cpp +++ b/lanczosfilter.cpp @@ -642,6 +642,10 @@ bool LanczosShader::init() if (!hasGLExtension("GL_ARB_fragment_program")) return false; + // We allow Lanczos for SandyBridge or later, but only GLSL shaders are supported, see BUG 301729 + if (gl->isIntel()) + return false; + QByteArray text; QTextStream stream(&text);