From 7c0acd8535b36077b832e78f1f3a53176e453d74 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 20 Nov 2014 14:17:07 -0800 Subject: 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 --- src/gallium/state_trackers/nine/nine_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/state_trackers') 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; } } -- cgit v1.2.3