<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#c5">Comment # 5</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:philip.rebohle@tu-dortmund.de" title="Philip Rebohle <philip.rebohle@tu-dortmund.de>"> <span class="fn">Philip Rebohle</span></a>
</span></b>
<pre>I found another pair of equivalent expressions that produce different results.
Working as expected:
if ((floatBitsToUint(R0).y >= 0x4u ? 0xffffffffu : 0u) == 0xffffffffu)
Showing artifacts:
if ((floatBitsToUint(R0).y >= 0x4u ? 0xffffffffu : 0u) != 0u)</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>