Use OpFUnordNotEqual for floating-point !=
authorGraeme Leese <gleese@broadcom.com>
Fri, 5 Jun 2020 12:32:51 +0000 (13:32 +0100)
committerGraeme Leese <gleese@broadcom.com>
Mon, 22 Jun 2020 09:59:33 +0000 (10:59 +0100)
commit65ce566cbcd8128dbce5438ccd75c37abd23decc
tree3e94251e4dc9a92d2a8004d58a54c90bc0f198fd
parentadacba3ee9213be19c8c238334a3a61ae4201812
Use OpFUnordNotEqual for floating-point !=

The normal IEEE not equal operation tests whether operands are unordered
or not equal (so comparison with a NaN returns true). This corresponds
to the SPIR-V OpFUnordNotEqual, so change to using that.
SPIRV/GlslangToSpv.cpp
SPIRV/SpvBuilder.cpp