[Bug 98664] Fragment shader while loop causes geometry corruption

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 17 22:34:55 UTC 2016


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

--- Comment #15 from Jakob Bornecrantz <wallbraker at gmail.com> ---
(In reply to Nicolai Hähnle from comment #14)
> 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 :)

Following the spec fixed the problems I was seeing, thanks! It slightly slower
then on Windows, but within the same magnitude.

Cheers, Jakob.

-- 
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/9ad0d2fd/attachment.html>


More information about the dri-devel mailing list