radeonsi: NaN should pass kill_if
authorAxel Davy <davyaxel0@gmail.com>
Sun, 23 Sep 2018 14:18:55 +0000 (16:18 +0200)
committerAxel Davy <davyaxel0@gmail.com>
Tue, 25 Sep 2018 20:05:24 +0000 (22:05 +0200)
commit0d495bec25bd7584de4e988c2b4528c1996bc1d0
tree4a01e51b99e0d7305d1523fd5bfddf90cfa6bbfd
parent46814e771a8eabc427e7d5bbaa8d5cb4ca57ee03
radeonsi: NaN should pass kill_if

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=105333
Fixes: https://github.com/iXit/Mesa-3D/issues/314
For this application, NaN is passed to KILL_IF and is expected to
pass.

v2: Explain in the code why UGE is used.

Signed-off-by: Axel Davy <davyaxel0@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
CC: <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/radeonsi/si_shader_tgsi_alu.c