From: Dave Airlie Date: Thu, 14 Aug 2014 08:48:09 +0000 (+1000) Subject: glsl: add double support to lower_mat_op_to_vec X-Git-Tag: upstream/17.1.0~20688 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=94f9ed701abe33b854f22577adffc4c7ad45cf18;p=platform%2Fupstream%2Fmesa.git glsl: add double support to lower_mat_op_to_vec Signed-off-by: Dave Airlie Reviewed-by: Ian Romanick Reviewed-by: Ilia Mirkin --- diff --git a/src/glsl/lower_mat_op_to_vec.cpp b/src/glsl/lower_mat_op_to_vec.cpp index 105ee0d..dda754f 100644 --- a/src/glsl/lower_mat_op_to_vec.cpp +++ b/src/glsl/lower_mat_op_to_vec.cpp @@ -354,6 +354,8 @@ ir_mat_op_to_vec_visitor::visit_leave(ir_assignment *orig_assign) /* OK, time to break down this matrix operation. */ switch (orig_expr->operation) { + case ir_unop_d2f: + case ir_unop_f2d: case ir_unop_neg: { /* Apply the operation to each column.*/ for (i = 0; i < matrix_columns; i++) {