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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 5 16:42:09 PST 2015


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

qiang.miao at intel.com changed:

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

--- Comment #9 from qiang.miao at intel.com ---
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

-- 
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/7189f5c1/attachment.html>


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