mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 15:50:17 +01:00
ir_to_mesa: Add support for ir_unop_rcp.
This isn't used at the moment, but will be soon.
This commit is contained in:
parent
d1b07167b9
commit
8761fcc2bf
1 changed files with 3 additions and 0 deletions
|
|
@ -618,6 +618,9 @@ ir_to_mesa_visitor::visit(ir_expression *ir)
|
|||
case ir_unop_sign:
|
||||
ir_to_mesa_emit_op1(ir, OPCODE_SSG, result_dst, op[0]);
|
||||
break;
|
||||
case ir_unop_rcp:
|
||||
ir_to_mesa_emit_scalar_op1(ir, OPCODE_RCP, result_dst, op[0]);
|
||||
break;
|
||||
|
||||
case ir_unop_exp:
|
||||
ir_to_mesa_emit_scalar_op1(ir, OPCODE_EXP, result_dst, op[0]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue