mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
ir_to_mesa: Add support for ir_unop_f2u to ir_to_mesa backend.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
11a7b93592
commit
fa584c50cf
1 changed files with 1 additions and 0 deletions
|
|
@ -1400,6 +1400,7 @@ ir_to_mesa_visitor::visit(ir_expression *ir)
|
|||
result_src = op[0];
|
||||
break;
|
||||
case ir_unop_f2i:
|
||||
case ir_unop_f2u:
|
||||
emit(ir, OPCODE_TRUNC, result_dst, op[0]);
|
||||
break;
|
||||
case ir_unop_f2b:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue