[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 12:04:27 UTC 2017


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

--- Comment #5 from Philip Rebohle <philip.rebohle at tu-dortmund.de> ---
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)

-- 
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/4cf03cc9/attachment.html>


More information about the dri-devel mailing list