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

Metal validation crash with Fastblur effect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 6.3.0, 6.4.0, 6.2
    • None
    • macOS

    Description

      Steps to Reproduce issue

      • Create a custom qml item in root qml view.
      • Use FastBlur qml item from graphic effects and set the source as the custom item.
      • Construct C++ type deriving from QQuickItem and make it available to custom qml via registration using qmlRegisterType.
      • Construct C++ class deriving from QSGNode and implement QSGNode::render function to render using metal render pipeline function with pixelFormat as MTLPixelFormatBGRA8Unorm.
      • Set render interface to Metal Rhi
      • Execute qml application.

      Actual Result:

       Application crashes on start of execution with the following error:

      For color attachment 0, the render pipeline’s pixelFormat (MTLPixelFormatBGRA8Unorm) does not match the framebuffer’s pixelFormat (MTLPixelFormatRGBA8Unorm).

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            li91 kokwah li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes