mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
i965: Add support for ir_unop_f2u to i965 backend.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
613a8170ae
commit
11a7b93592
3 changed files with 3 additions and 0 deletions
|
|
@ -198,6 +198,7 @@ ir_channel_expressions_visitor::visit_leave(ir_assignment *ir)
|
|||
case ir_unop_i2u:
|
||||
case ir_unop_u2i:
|
||||
case ir_unop_f2i:
|
||||
case ir_unop_f2u:
|
||||
case ir_unop_i2f:
|
||||
case ir_unop_f2b:
|
||||
case ir_unop_b2f:
|
||||
|
|
|
|||
|
|
@ -463,6 +463,7 @@ fs_visitor::visit(ir_expression *ir)
|
|||
case ir_unop_i2f:
|
||||
case ir_unop_u2f:
|
||||
case ir_unop_f2i:
|
||||
case ir_unop_f2u:
|
||||
emit(BRW_OPCODE_MOV, this->result, op[0]);
|
||||
break;
|
||||
|
||||
|
|
|
|||
|
|
@ -1278,6 +1278,7 @@ vec4_visitor::visit(ir_expression *ir)
|
|||
case ir_unop_b2f:
|
||||
case ir_unop_b2i:
|
||||
case ir_unop_f2i:
|
||||
case ir_unop_f2u:
|
||||
emit(MOV(result_dst, op[0]));
|
||||
break;
|
||||
case ir_unop_f2b:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue