Revert "i965: Do VS SGT, SLT, and friends using CMP, SEL instead of CMP, MOV, MOV."

This reverts commit 8ef3b1834a.  Fixes
piglit glsl-vs-if.
This commit is contained in:
Eric Anholt
2010-03-16 11:23:08 -07:00
parent ba208604ea
commit 25becb8a7a
+3 -2
View File
@@ -384,8 +384,9 @@ static void emit_sop( struct brw_vs_compile *c,
{
struct brw_compile *p = &c->func;
brw_CMP(p, brw_null_reg(), cond, arg1, arg0);
brw_SEL(p, dst, brw_null_reg(), brw_imm_f(1.0f));
brw_MOV(p, dst, brw_imm_f(0.0f));
brw_CMP(p, brw_null_reg(), cond, arg0, arg1);
brw_MOV(p, dst, brw_imm_f(1.0f));
brw_set_predicate_control_flag_value(p, 0xff);
}