<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Nier:Automata - "if" in fragment shader incorrectly evaluated, causes artifacts"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103743#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Nier:Automata - "if" in fragment shader incorrectly evaluated, causes artifacts"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103743">bug 103743</a>
from <span class="vcard"><a class="email" href="mailto:nhaehnle@gmail.com" title="Nicolai Hähnle <nhaehnle@gmail.com>"> <span class="fn">Nicolai Hähnle</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>