[Bug 103743] Nier:Automata - "if" in fragment shader incorrectly evaluated, causes artifacts

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 27 20:42:08 UTC 2017


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

--- Comment #6 from Nicolai Hähnle <nhaehnle at gmail.com> ---
Thanks. To give you an update, this is a super subtle control flow handling bug
in LLVM -- and the difference between the original shader and your modification
at the LLVM input is merely that the sense of one branch is (correctly)
inverted, leading LLVM down a subtly different path in the end.

A sledge-hammer fix is quite simple, but I'm still thinking about how to get a
better fix which doesn't pessimize a bunch of cases.

-- 
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/20171127/44e06917/attachment.html>


More information about the dri-devel mailing list