Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-88510

Error messages when QML ColorOverlay with RHI Metal backend

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 5.15.1
    • None
    • Host: Mac Mini (2019), MacOS 10.15.7 (Catalina), Qt 5.15.1
      Device: iPad Pro (2020), iOS 14.1

    • iOS/tvOS/watchOS

      If we choose the Metal backend (QQuickWindow::setSceneGraphBackend(QSGRendererInterface::MetalRhi);) We get many of these error log messages when using ColorOverlay in our QML code:

      qUncompress: Z_DATA_ERROR: Input data is corrupted
      Attempted to deserialize QShader with unknown version 0.
      ShaderEffect: Failed to deserialize QShader from :/qt-project.org/imports/QtGraphicalEffects/shaders/coloroverlay.frag
      ShaderEffect: shader preparation failed for qrc:/qt-project.org/imports/QtGraphicalEffects/shaders/coloroverlay.frag
      

      Looks related to QTBUG-87402, however we're not using any own Shader Effects.

      We assume similar things would happen when using other components from Qt Quick Graphical Effects, not just ColorOverlay.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.graphics.and.multimedia Qt Graphics Team
            xxtrawurst Rafael Spring
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes