summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-11-20 14:17:07 -0800
committerEric Anholt <[email protected]>2014-11-24 14:56:21 -0800
commit7c0acd8535b36077b832e78f1f3a53176e453d74 (patch)
tree02d3aab0dc49bb1bcb7f804a28c9292fe46099d8
parent057e6e5251118623242db637dcde4acaef9fed86 (diff)
nine: Don't use the otherwise-dead SFL opcode in an unreachable path.
Reviewed-by: Jose Fonseca <[email protected]> Reviewed-by: Axel Davy <[email protected]> Reviewed-by: David Heidelberg <[email protected]>
-rw-r--r--src/gallium/state_trackers/nine/nine_shader.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}