projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba20860
)
Revert "i965: Do VS SGT, SLT, and friends using CMP, SEL instead of CMP, MOV, MOV."
author
Eric Anholt
<eric@anholt.net>
Tue, 16 Mar 2010 18:23:08 +0000
(11:23 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 16 Mar 2010 20:18:54 +0000
(13:18 -0700)
This reverts commit
8ef3b1834a896927bdd4f2aea552cdb732849da9
. Fixes
piglit glsl-vs-if.
src/mesa/drivers/dri/i965/brw_vs_emit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vs_emit.c
b/src/mesa/drivers/dri/i965/brw_vs_emit.c
index d16e916832e7c95a592816fd33932a4725219cb0..14c3b936b7eb03abb088148e51ed7e2ae91e0e3b 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_vs_emit.c
+++ b/
src/mesa/drivers/dri/i965/brw_vs_emit.c
@@
-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);
}