mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-11 03:18:20 +02:00
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:
parent
ba208604ea
commit
25becb8a7a
1 changed files with 3 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue