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

gaussianBlur.frag does not compile under webassembly

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes