zink: use OpFUnordNotEqual for nir_op_fne
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 25 Jun 2020 13:25:45 +0000 (09:25 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 26 Jun 2020 14:07:35 +0000 (14:07 +0000)
commite35b8971a74a62960e7328993d93a090a25c22a7
tree6d4a8344ea1b7381baebba0dfa5c86cd9693f620
parent765de33d3ce34ee2e4df5e349dce4dabb13bfcfc
zink: use OpFUnordNotEqual for nir_op_fne

we want to detect NaNs here, and OpFUnordNotEqual is the variant which does this

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5562>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c