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

ShaderEffectSource with recursive shader causes magenta texture on Apple Silicon

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.4.2
    • Quick: SceneGraph
    • None
    • macOS

    Description

      When using a shader effect that depends on a previous texture, the extra texture appears to be cleared to pure magenta on creation, but only on Apple Silicon/Ventura.

      This does not occur with Qt 5 (tested with 5.15.3). The documentation states that an extra texture is created and it may make sense to ensure this is cleared on creation.

      I have attached minimal examples for Qt 5 and Qt 6.

      Expected output (this is seen on Apple Intel/Monterey and Windows 11):

      Actual output on Apple Silicon/Ventura:

      Attachments

        1. shadereffects.mp4
          515 kB
        2. shadereffects-qt5.zip
          3 kB
        3. shadereffects.zip
          6 kB
        4. shader-incorrect.png
          shader-incorrect.png
          175 kB
        5. shader-correct.png
          shader-correct.png
          171 kB

        Issue Links

          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
              dhatadi.external Daniel Hatadi (External)
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes