From ffecbfc980c97290a66a2b569ee663c97c8c1298 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Tue, 24 Jan 2017 21:13:41 +0100 Subject: [PATCH] Re-enable shader disk cache for Integrity Task-number: QTBUG-58183 Change-Id: Ic1be5db6922259cbef867720e95261d46a5ccaef Reviewed-by: Kimmo Ollila Reviewed-by: Andy Nichols --- src/gui/opengl/qopenglshaderprogram.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/gui/opengl/qopenglshaderprogram.cpp b/src/gui/opengl/qopenglshaderprogram.cpp index 0d0f40efee..c9552fd321 100644 --- a/src/gui/opengl/qopenglshaderprogram.cpp +++ b/src/gui/opengl/qopenglshaderprogram.cpp @@ -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;