diff options
author | Christoph Bumiller <[email protected]> | 2012-01-07 22:12:59 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-01-10 00:39:29 +0100 |
commit | ca03372657f73a30b7b2f827d6f76473e57487ee (patch) | |
tree | 6a47a7ded79221c121f9ce792c28f1988d86999d | |
parent | 4021979182d3a6eb2bed1e9d784e218eb88bfa28 (diff) |
nv50/ir/tgsi: translate SNE as unordered comparison
Fixes isnan().
-rw-r--r-- | src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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: |