Re-enable shader disk cache for Integrity

Task-number: QTBUG-58183
Change-Id: Ic1be5db6922259cbef867720e95261d46a5ccaef
Reviewed-by: Kimmo Ollila <kimmo.ollila@theqtcompany.com>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
bb10
Laszlo Agocs 2017-01-24 21:13:41 +01:00
parent 398a7e736c
commit ffecbfc980
1 changed files with 0 additions and 5 deletions

View File

@ -3739,11 +3739,6 @@ QOpenGLProgramBinarySupportCheck::QOpenGLProgramBinarySupportCheck(QOpenGLContex
: QOpenGLSharedResource(context->shareGroup()),
m_supported(false)
{
// Shader cache is disabled for INTEGRITY as the driver doesn't handle
// unaligned data.
#if defined(Q_OS_INTEGRITY)
return;
#endif
if (QCoreApplication::testAttribute(Qt::AA_DisableShaderDiskCache)) {
qCDebug(DBG_SHADER_CACHE, "Shader cache disabled via app attribute");
return;