mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 16:50:10 +01:00
i965: Don't bother with RNDZ for f2i.
The default type conversion for MOV should be fine, and RNDZ actually requires two instructions.
This commit is contained in:
parent
a560a509fa
commit
5afdfa222f
1 changed files with 1 additions and 1 deletions
|
|
@ -767,7 +767,7 @@ fs_visitor::visit(ir_expression *ir)
|
|||
emit(fs_inst(BRW_OPCODE_MOV, this->result, op[0]));
|
||||
break;
|
||||
case ir_unop_f2i:
|
||||
emit(fs_inst(BRW_OPCODE_RNDZ, this->result, op[0]));
|
||||
emit(fs_inst(BRW_OPCODE_MOV, this->result, op[0]));
|
||||
break;
|
||||
case ir_unop_f2b:
|
||||
case ir_unop_i2b:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue