diff options
author | Paul Berry <[email protected]> | 2012-06-13 15:49:25 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2012-06-15 08:58:55 -0700 |
commit | 11a7b93592c22c8165f8fde6395f76778fca452e (patch) | |
tree | 5f4cb67cac1a57ca7daef9a87462eeeeb7ff07ae /src/mesa/drivers | |
parent | 613a8170ae53091d516f602d091a6bbcd169e92f (diff) |
i965: Add support for ir_unop_f2u to i965 backend.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp b/src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp index c39659ff110..983d92e971d 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp @@ -198,6 +198,7 @@ ir_channel_expressions_visitor::visit_leave(ir_assignment *ir) case ir_unop_i2u: case ir_unop_u2i: case ir_unop_f2i: + case ir_unop_f2u: case ir_unop_i2f: case ir_unop_f2b: case ir_unop_b2f: diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp index 12745f23102..4b9330bed94 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp @@ -463,6 +463,7 @@ fs_visitor::visit(ir_expression *ir) case ir_unop_i2f: case ir_unop_u2f: case ir_unop_f2i: + case ir_unop_f2u: emit(BRW_OPCODE_MOV, this->result, op[0]); break; diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp index bde84202df5..25d3c92f835 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp @@ -1278,6 +1278,7 @@ vec4_visitor::visit(ir_expression *ir) case ir_unop_b2f: case ir_unop_b2i: case ir_unop_f2i: + case ir_unop_f2u: emit(MOV(result_dst, op[0])); break; case ir_unop_f2b: |