Details
-
Bug
-
Resolution: Incomplete
-
P3: Somewhat important
-
None
-
6.2, 6.3.0, 6.4.0
-
None
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).