nine: Don't use the otherwise-dead SFL opcode in an unreachable path.
authorEric Anholt <eric@anholt.net>
Thu, 20 Nov 2014 22:17:07 +0000 (14:17 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 24 Nov 2014 22:56:21 +0000 (14:56 -0800)
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
Reviewed-by: David Heidelberg <david@ixit.cz>
src/gallium/state_trackers/nine/nine_shader.c

index cc027b485b22db96589c067c786bb2219798565d..9b324c3d9c163a9ee3fdd36bc9e3addccb469c1a 100644 (file)
@@ -1615,7 +1615,7 @@ sm1_insn_flags_to_tgsi_setop(BYTE flags)
     case NINED3DSHADER_REL_OP_LE: return TGSI_OPCODE_SLE;
     default:
         assert(!"invalid comparison flags");
-        return TGSI_OPCODE_SFL;
+        return TGSI_OPCODE_SGT;
     }
 }