From: Paul Berry Date: Wed, 13 Jun 2012 22:49:46 +0000 (-0700) Subject: ir_to_mesa: Add support for ir_unop_f2u to ir_to_mesa backend. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa584c50cf1ddbd96fba4a68563b57c82619e6f4;p=mesa.git ir_to_mesa: Add support for ir_unop_f2u to ir_to_mesa backend. Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index 22454000509..217a264559a 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -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: