projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d70d1f
)
ir_to_mesa: Fix copy'n'paste bug where divide multiplied left by 1/left.
author
Eric Anholt
<eric@anholt.net>
Thu, 6 May 2010 17:31:44 +0000
(10:31 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 24 Jun 2010 22:05:20 +0000
(15:05 -0700)
Multiply left by 1/right, please.
mesa_codegen.brg
patch
|
blob
|
history
diff --git
a/mesa_codegen.brg
b/mesa_codegen.brg
index b117aff0f6be752e1cc2707166f70e133d23bf10..0bfd8dae903b74502da5f45a8f9ccd64e181a869 100644
(file)
--- a/
mesa_codegen.brg
+++ b/
mesa_codegen.brg
@@
-186,7
+186,7
@@
vec4: div_vec4_vec4(vec4, vec4) 1
{
ir_to_mesa_emit_scalar_op1(tree, OPCODE_RCP,
tree->dst_reg,
- tree->
lef
t->src_reg);
+ tree->
righ
t->src_reg);
ir_to_mesa_emit_op2(tree, OPCODE_MUL,
tree->dst_reg,