diff options
author | Paul Berry <stereotype441@gmail.com> | 2012-06-13 15:49:46 -0700 |
---|---|---|
committer | Paul Berry <stereotype441@gmail.com> | 2012-06-15 08:58:55 -0700 |
commit | fa584c50cf1ddbd96fba4a68563b57c82619e6f4 (patch) | |
tree | c60b398a09cbdd77099bf8eb2425879b191dab95 /src | |
parent | 11a7b93592c22c8165f8fde6395f76778fca452e (diff) |
ir_to_mesa: Add support for ir_unop_f2u to ir_to_mesa backend.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src')
-rw-r--r-- | 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 2245400050..217a264559 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: |