summaryrefslogtreecommitdiffstats
path: root/mesa_codegen.brg
diff options
context:
space:
mode:
Diffstat (limited to 'mesa_codegen.brg')
-rw-r--r--mesa_codegen.brg8
1 files changed, 4 insertions, 4 deletions
diff --git a/mesa_codegen.brg b/mesa_codegen.brg
index 4e761343ae3..a906542dd53 100644
--- a/mesa_codegen.brg
+++ b/mesa_codegen.brg
@@ -116,7 +116,7 @@ vec4: reference_vec4 0
# which would clean these up.
stmt: assign(vec4, vec4) 1
{
- ir_to_mesa_emit_op1_full(tree, OPCODE_MOV,
+ ir_to_mesa_emit_op1_full(tree->v, tree->ir, OPCODE_MOV,
tree->left->dst_reg,
tree->right->src_reg);
}
@@ -137,7 +137,7 @@ vec4: swizzle_vec4(vec4) 1
}
reg.swizzle = MAKE_SWIZZLE4(swiz[0], swiz[1], swiz[2], swiz[3]);
- ir_to_mesa_emit_op1_full(tree, OPCODE_MOV,
+ ir_to_mesa_emit_op1_full(tree->v, tree->ir, OPCODE_MOV,
tree->dst_reg,
reg);
}
@@ -171,7 +171,7 @@ vec4: div_vec4_vec4(vec4, vec4) 1
tree->dst_reg,
tree->right->src_reg);
- ir_to_mesa_emit_op2_full(tree, OPCODE_MUL,
+ ir_to_mesa_emit_op2_full(tree->v, tree->ir, OPCODE_MUL,
tree->dst_reg,
tree->src_reg,
tree->left->src_reg);
@@ -190,7 +190,7 @@ vec4: sqrt_vec4(vec4) 1
tree->dst_reg,
tree->left->src_reg);
- ir_to_mesa_emit_op1_full(tree, OPCODE_RCP,
+ ir_to_mesa_emit_op1_full(tree->v, tree->ir, OPCODE_RCP,
tree->dst_reg,
tree->src_reg);
}