diff options
author | Eric Anholt <[email protected]> | 2010-06-03 09:04:57 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-06-24 15:05:21 -0700 |
commit | 9d2b8e0b70acce2678bea2cb6a990e0dee380b37 (patch) | |
tree | a27e8c4391fce791cfee36c1de1b36e2e834cd4d | |
parent | 0161515c395c44233529c8d51f823b60050bc7ba (diff) |
ir_to_mesa: Fix copy-and-wasted DIV instruction sequence.
-rw-r--r-- | ir_to_mesa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ir_to_mesa.cpp b/ir_to_mesa.cpp index 3376e897050..d9d7a91b296 100644 --- a/ir_to_mesa.cpp +++ b/ir_to_mesa.cpp @@ -413,7 +413,7 @@ ir_to_mesa_visitor::visit(ir_expression *ir) break; case ir_binop_div: ir_to_mesa_emit_scalar_op1(ir, OPCODE_RCP, result_dst, op[1]); - ir_to_mesa_emit_op2(ir, OPCODE_RCP, result_dst, op[0], result_src); + ir_to_mesa_emit_op2(ir, OPCODE_MUL, result_dst, op[0], result_src); break; case ir_binop_less: |