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

QtQuick Item.layer not working with WebAssembly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.0 Beta 2
    • 5.12.0 Beta 1
    • QPA
    • None
    • QtQuick, Qt WebAssembly, built from Qt 5.12 branch
    • WebAssembly
    • 88868a0a3aa94331fb722d6032149593e762308e (qt/qtdeclarative/5.12)

    Description

      In QtQuick, I was trying to apply a ShaderEffect to an Item tree by using the Item.layer feature. The WebAssembly application however only shows a blank rectangle / empty texture.

      The problem is already triggered by just enabling offscreen rendering  using "layer.enabled: true". The Firefox console is filled with the following type of message pair:

      Error: WebGL warning: clear: Framebuffer not complete. (status: 0x8cdd)
      Error: WebGL warning: clear: Framebuffer must be complete.

      Looking up the status code emitted by the Browser:
      FRAMEBUFFER_UNSUPPORTED 0x8CDD

      Chrome keeps repeating another error description:

      WebGL: INVALID_FRAMEBUFFER_OPERATION: clear: conflicting DEPTH/STENCIL/DEPTH_STENCIL attachments

      Attachments

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

        Activity

          People

            lpotter Lorn Potter
            pwuertz Peter Würtz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes