Skip Shader self test for Mesa >= 17
Summary: We are getting reports about the shader self test failing in a false positive way on Mesa 17. We already have such false positve results for NVIDIA quadro and went with disabling the self test. Most likely our self test has a problem or the rendering of the first frame has a problem. But disabling compositing because our rendering of the first frame is broken, is too much. Let's better be pro user here and disable the shader self test till we fixed the root problem. BUG: 376801 FIXED-IN: 5.10.4 Test Plan: It compiles. Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D6426
This commit is contained in:
parent
07259cfa59
commit
43816119e9
1 changed files with 4 additions and 0 deletions
|
@ -614,6 +614,10 @@ bool ShaderManager::selfTest()
|
||||||
qCWarning(LIBKWINGLUTILS) << "Skipping self test as it is reported to return false positive results on Quadro hardware";
|
qCWarning(LIBKWINGLUTILS) << "Skipping self test as it is reported to return false positive results on Quadro hardware";
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if (GLPlatform::instance()->isMesaDriver() && GLPlatform::instance()->mesaVersion() >= kVersionNumber(17, 0)) {
|
||||||
|
qCWarning(LIBKWINGLUTILS) << "Skipping self test as it is reported to return false positive results on Mesa drivers";
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
// Create the source texture
|
// Create the source texture
|
||||||
QImage image(2, 2, QImage::Format_ARGB32_Premultiplied);
|
QImage image(2, 2, QImage::Format_ARGB32_Premultiplied);
|
||||||
|
|
Loading…
Reference in a new issue