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

qsb generates shader that webassembly does not accept

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.8.0 FF
    • 6.8
    • GUI: OpenGL
    • None
    • windows 11, wasm,emsdk 3.1.50
    • WebAssembly
    • 547de2d4e (dev)

    Description

      The project

      qtdeclarative\examples\quick\scenegraph\custommaterial

      does not run on the webassembly platform because a for loop is rewritten to skip

      the init part.

       

      code in question:

      file shaders\mandelbrot.frag

      ...

      int i;

      for (i = 0; i < ubuf.limit; i++) {

      ...

      rewritten to

      int i = 0;

      for (; i < ubuf.limit; i++) {

       

       

      Attachments

        For Gerrit Dashboard: QTBUG-123593
        # Subject Branch Project Status CR V

        Activity

          People

            evenandersen Even Oscar Andersen
            evenandersen Even Oscar Andersen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes