diff options
Diffstat (limited to 'src')
-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: |