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

ShaderEffectSource with recursive shader causes magenta texture on Apple Silicon

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.4.2
    • Qt Shader Tools
    • None
    • macOS

      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:

        1. shader-correct.png
          shader-correct.png
          171 kB
        2. shader-incorrect.png
          shader-incorrect.png
          175 kB
        3. shadereffects.zip
          6 kB
        4. shadereffects-qt5.zip
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated: