From: Eric Anholt Date: Thu, 20 Nov 2014 22:17:07 +0000 (-0800) Subject: nine: Don't use the otherwise-dead SFL opcode in an unreachable path. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c0acd8535b36077b832e78f1f3a53176e453d74;p=mesa.git nine: Don't use the otherwise-dead SFL opcode in an unreachable path. Reviewed-by: Jose Fonseca Reviewed-by: Axel Davy Reviewed-by: David Heidelberg --- diff --git a/src/gallium/state_trackers/nine/nine_shader.c b/src/gallium/state_trackers/nine/nine_shader.c index cc027b485b2..9b324c3d9c1 100644 --- a/src/gallium/state_trackers/nine/nine_shader.c +++ b/src/gallium/state_trackers/nine/nine_shader.c @@ -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; } }