nv50/ir/tgsi: translate SNE as unordered comparison
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sat, 7 Jan 2012 21:12:59 +0000 (22:12 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Mon, 9 Jan 2012 23:39:29 +0000 (00:39 +0100)
Fixes isnan().

src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp

index 56182c39cf7ee3199cb6a1cc2970f1b26ad71987..6678398cfb2d8afc4abdc5bc8a0bb4998076f82c 100644 (file)
@@ -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: