Mesa (master): ir_to_mesa: Add support for ir_unop_f2u to ir_to_mesa backend.

Paul Berry stereotype441 at kemper.freedesktop.org
Fri Jun 15 16:12:39 UTC 2012


Module: Mesa
Branch: master
Commit: fa584c50cf1ddbd96fba4a68563b57c82619e6f4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa584c50cf1ddbd96fba4a68563b57c82619e6f4

Author: Paul Berry <stereotype441 at gmail.com>
Date:   Wed Jun 13 15:49:46 2012 -0700

ir_to_mesa: Add support for ir_unop_f2u to ir_to_mesa backend.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/program/ir_to_mesa.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp
index 2245400..217a264 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:




More information about the mesa-commit mailing list