projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f14913d
)
ir_to_mesa: Fix up the assign rule to use left and right correctly.
author
Eric Anholt
<eric@anholt.net>
Tue, 4 May 2010 18:47:57 +0000
(11:47 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 24 Jun 2010 22:05:19 +0000
(15:05 -0700)
The destination of assign is in left, not in the node itself.
mesa_codegen.brg
patch
|
blob
|
history
diff --git
a/mesa_codegen.brg
b/mesa_codegen.brg
index 6a34b68068ee6e15fe5bcaab3189c6c45813a584..9f2761b08e278057a86d0fd0956197dfb4d58009 100644
(file)
--- a/
mesa_codegen.brg
+++ b/
mesa_codegen.brg
@@
-120,8
+120,8
@@
alloced_vec4: vec4 1
stmt: assign(alloced_vec4, alloced_vec4) 1
{
ir_to_mesa_emit_op1(tree, OPCODE_MOV,
- ir_to_mesa_dst_reg_from_src(tree->src_reg),
- tree->
lef
t->src_reg);
+ ir_to_mesa_dst_reg_from_src(tree->
left->
src_reg),
+ tree->
righ
t->src_reg);
}
# Perform a swizzle by composing our swizzle with the swizzle