Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-13685

gaussianBlur.frag does not compile under webassembly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • QDS 4.5.1
    • other
    • None
    • ubuntu
    • WebAssembly

    Description

      in qtquickdesigner-components repo

       

      gaussianBlur.frag does not run under webassembly
      there is a complaint about non-constant initializers in the for loops, can be fixed like this:
       {{float i = -k;
      for(int ii = 0; ii<1000000; ++ii)

      { if (i > k) break; sum += exp(-0.5 * pow(i / sigma, 2.0)) / (sqrtDoublePI * sigma); ++i; }

      }}
       
      Similar for the other for loop

      Seen in the qtdoc/car-configurator demo. The demo runs anyway.

      Attachments

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

        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:

              Gerrit Reviews

                There are no open Gerrit changes