[Bug 87345] Severe noise corruption observed while running WebGL “Fluid Simulation ”

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 5 18:37:27 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=87345

Matt Turner <mattst88 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |NOTOURBUG

--- Comment #10 from Matt Turner <mattst88 at gmail.com> ---
(In reply to qiang.miao from comment #9)
> Can't agree with you
> Why the same code can work correctly on Windows?
> 
> If these variables areundefined variables like you said
> WebGL will report error and draw nothing
> 
> +  vec2 uv = vec2(0, 0);
>    vec2 motion = decode2( texture2D(sampler_fluid, uv))*pixelSize*0.75;
>  
> -  vec2 uv = uv - motion; // add fluid motion
> +  uv = uv - motion; // add fluid motion
> 
> 
> -  vec2 gz; // blue blur2 gradient vector
> +  vec2 gz = vec2(0, 0); // blue blur2 gradient vector
> 
> Those variables are defined without initial value
> There is something wrong with shader compiler on how to handle default value

No.

The GLSL spec says "Reading a variable before writing (or initializing) it is
legal, however the value is undefined."

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20150206/213b2207/attachment.html>


More information about the intel-3d-bugs mailing list