Home
last modified time | relevance | path

Searched refs:orig_expr (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dlower_mat_op_to_vec.cpp311 ir_expression *orig_expr = orig_assign->rhs->as_expression(); in visit_leave() local
315 if (!orig_expr) in visit_leave()
318 if (!has_matrix_operand(orig_expr, matrix_columns)) in visit_leave()
321 assert(orig_expr->num_operands <= 2); in visit_leave()
332 for (i = 0; i < orig_expr->num_operands; i++) { in visit_leave()
334 ir_dereference *deref = orig_expr->operands[i]->as_dereference(); in visit_leave()
346 ir_variable *var = new(mem_ctx) ir_variable(orig_expr->operands[i]->type, in visit_leave()
355 assign = new(mem_ctx) ir_assignment(op[i], orig_expr->operands[i]); in visit_leave()
360 switch (orig_expr->operation) { in visit_leave()
369 column_expr = new(mem_ctx) ir_expression(orig_expr->operation, in visit_leave()
[all …]