From a3691edaff553b5130c97ff912ecaa96f08a6643 Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 18 Jun 2012 08:29:53 +0200 Subject: fontconfig mesa pixman git update 18 Jun 2012 --- mesalib/src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mesalib/src/mesa/state_tracker/st_glsl_to_tgsi.cpp') diff --git a/mesalib/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/mesalib/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 347a22f19..5802b52b7 100644 --- a/mesalib/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/mesalib/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -1762,6 +1762,12 @@ glsl_to_tgsi_visitor::visit(ir_expression *ir) else emit(ir, TGSI_OPCODE_TRUNC, result_dst, op[0]); break; + case ir_unop_f2u: + if (native_integers) + emit(ir, TGSI_OPCODE_F2U, result_dst, op[0]); + else + emit(ir, TGSI_OPCODE_TRUNC, result_dst, op[0]); + break; case ir_unop_bitcast_f2i: case ir_unop_bitcast_f2u: case ir_unop_bitcast_i2f: -- cgit v1.2.3