Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels