[Mesa-dev] [PATCH 1/3] nine: Don't use the otherwise-dead SFL opcode in an unreachable path.
Eric Anholt
eric at anholt.net
Thu Nov 20 14:31:47 PST 2014
---
src/gallium/state_trackers/nine/nine_shader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/nine/nine_shader.c b/src/gallium/state_trackers/nine/nine_shader.c
index cc027b4..9b324c3 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;
}
}
--
2.1.1
More information about the mesa-dev
mailing list