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
icc-effect-5.14.5
Martin Gräßlin 2012-06-12 22:34:29 +02:00
parent 953d088b6a
commit 1f52366fc1
1 changed files with 4 additions and 0 deletions

View File

@ -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);