Home | History | Annotate | Download | only in glsl

Lines Matching refs:ir1

65    bool reassociate_constant(ir_expression *ir1,
69 void reassociate_operands(ir_expression *ir1,
228 ir_algebraic_visitor::reassociate_operands(ir_expression *ir1,
234 ir2->operands[op2] = ir1->operands[op1];
235 ir1->operands[op1] = temp;
237 /* Update the type of ir2. The type of ir1 won't have changed --
252 ir_algebraic_visitor::reassociate_constant(ir_expression *ir1, int const_index,
256 if (!ir2 || ir1->operation != ir2->operation)
260 if (ir1->operands[0]->type->is_matrix() ||
261 ir1->operands[1]->type->is_matrix() ||
274 reassociate_operands(ir1, const_index, ir2, 1);
277 reassociate_operands(ir1, const_index, ir2, 0);
281 if (reassociate_constant(ir1, const_index, constant,
287 if (reassociate_constant(ir1, const_index, constant,