projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11a7b93
)
ir_to_mesa: Add support for ir_unop_f2u to ir_to_mesa backend.
author
Paul Berry
<stereotype441@gmail.com>
Wed, 13 Jun 2012 22:49:46 +0000
(15:49 -0700)
committer
Paul Berry
<stereotype441@gmail.com>
Fri, 15 Jun 2012 15:58:55 +0000
(08:58 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/program/ir_to_mesa.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/program/ir_to_mesa.cpp
b/src/mesa/program/ir_to_mesa.cpp
index 22454000509fe33e5b62e7f9d9a9c88894aaa499..217a264559a4179b57937db783ef023d8605fc23 100644
(file)
--- 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: