mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 21:50:11 +01:00
glsl: add double support to lower_mat_op_to_vec
Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
3773072169
commit
94f9ed701a
1 changed files with 2 additions and 0 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue