diff options
-rw-r--r-- | mesa_codegen.brg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesa_codegen.brg b/mesa_codegen.brg index b117aff0f6..0bfd8dae90 100644 --- 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->left->src_reg); + tree->right->src_reg); ir_to_mesa_emit_op2(tree, OPCODE_MUL, tree->dst_reg, |