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

ShaderEffectSource with recursive shader causes magenta texture on Apple Silicon

    XMLWordPrintable

Details

    • macOS
    • 97fe141f2 (dev), f20a020b7 (dev), 6cc919ab3 (dev), d7b80c9c9 (6.10), 384128261 (6.10), 712d8fd8a (6.10), 3a980cfd9 (6.9), 6f1079c53 (tqtc/lts-6.8), 661caa8ed (6.9), 8db777771 (6.9), 5ad865129 (tqtc/lts-6.8), 994081392 (tqtc/lts-6.8)

    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. shader-incorrect.png
          shader-incorrect.png
          175 kB
        2. shadereffects-qt5.zip
          3 kB
        3. shadereffects.zip
          6 kB
        4. shadereffects.mp4
          515 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

              lagocs Laszlo Agocs
              dhatadi.external Daniel Hatadi (External)
              Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: