[Bug 98664] Fragment shader while loop causes geometry corruption

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 17 21:57:09 UTC 2016


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

--- Comment #14 from Nicolai Hähnle <nhaehnle at gmail.com> ---
I suspect the reason that the blob drivers do it this way is that if you don't,
you're likely to hit a subtle bug with emit inside control flow. And making the
effort to exploit the undefined-ness probably pays off very rarely, so... I'm
about to send out a patch to mesa-dev that might explain this better. In any
case, the shader still did the wrong thing according to the spec :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161117/4b16e039/attachment-0001.html>


More information about the dri-devel mailing list