mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
ir_to_mesa: Fix up the assign rule to use left and right correctly.
The destination of assign is in left, not in the node itself.
This commit is contained in:
parent
f14913d4b7
commit
7aa0b034f7
1 changed files with 2 additions and 2 deletions
|
|
@ -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->left->src_reg);
|
||||
ir_to_mesa_dst_reg_from_src(tree->left->src_reg),
|
||||
tree->right->src_reg);
|
||||
}
|
||||
|
||||
# Perform a swizzle by composing our swizzle with the swizzle
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue