[Bug 99919] Wrong and unstable image rendering from GLSL fragment shaders

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 27 02:49:39 UTC 2017


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

Roland Scheidegger <sroland at vmware.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #8 from Roland Scheidegger <sroland at vmware.com> ---
This is not a bug, the shader has undefined output.
I've confirmed the path taken through the shader in the opU() function is
always the else clause, then not satisfying the if there, so the returned
HitData value is always undefined due to using out instead of inout for the hd
parameter.
Therefore the path taken in render() (using the undefined trc.d value) is
completely undefined, and of course such undefined results can change randomly
if injecting code which seemingly should have no effect.

(As for the checkerboard pattern on llvmpipe/softpipe, I'm not sure but I've
verified that with these drivers in the opU() function always the first if
clause is taken - hence things are well defined but the result is different.
Not sure why exactly the numbers in opU() are different, the shader could use
float math which isn't quite stable given the inputs but whatever it's not
connected to the shader injection and unless someone says otherwise I'm not
convinced it's driver bugs neither.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20170227/0e61adf9/attachment.html>


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