From: Christoph Bumiller Date: Sat, 7 Jan 2012 21:12:59 +0000 (+0100) Subject: nv50/ir/tgsi: translate SNE as unordered comparison X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca03372657f73a30b7b2f827d6f76473e57487ee;p=mesa.git nv50/ir/tgsi: translate SNE as unordered comparison Fixes isnan(). --- diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp b/src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp index 56182c39cf7..6678398cfb2 100644 --- a/src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp +++ b/src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp @@ -426,6 +426,7 @@ nv50_ir::CondCode Instruction::getSetCond() const case TGSI_OPCODE_USEQ: return CC_EQ; case TGSI_OPCODE_SNE: + return CC_NEU; case TGSI_OPCODE_USNE: return CC_NE; case TGSI_OPCODE_SFL: