Home | History | Annotate | Download | only in glsl

Lines Matching defs:op0

43  * Breaks an ir_binop_sub expression down to add(op0, neg(op1))
48 * want to recognize add(op0, neg(op1)) or the other way around to
53 * Breaks an ir_binop_div expression down to op0 * (rcp(op1)).
77 * Breaks an ir_binop_mod expression down to (op1 * fract(op0 / op1))
144 /* op0 / op1 -> op0 * (1.0 / op1) */
160 ir_rvalue *op0, *op1;
179 op0 = new(ir) ir_expression(ir_unop_i2f, vec_type, ir->operands[0], NULL);
181 op0 = new(ir) ir_expression(ir_unop_u2f, vec_type, ir->operands[0], NULL);
187 op0 = new(ir) ir_expression(ir_binop_mul, vec_type, op0, op1);
191 ir->operands[0] = op0;
194 ir->operands[0] = new(ir) ir_expression(ir_unop_f2i, op0);