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
This commit is contained in:
parent
953d088b6a
commit
1f52366fc1
1 changed files with 4 additions and 0 deletions
|
@ -642,6 +642,10 @@ bool LanczosShader::init()
|
||||||
if (!hasGLExtension("GL_ARB_fragment_program"))
|
if (!hasGLExtension("GL_ARB_fragment_program"))
|
||||||
return false;
|
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;
|
QByteArray text;
|
||||||
QTextStream stream(&text);
|
QTextStream stream(&text);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue