Lines Matching refs:op0
187 ir_rvalue *op0, ir_rvalue *op1,
193 this->operands[0] = op0;
210 ir_expression::ir_expression(int op, ir_rvalue *op0)
214 this->operands[0] = op0;
255 this->type = op0->type;
270 op0->type->vector_elements, 1);
283 op0->type->vector_elements, 1);
290 op0->type->vector_elements, 1);
295 op0->type->vector_elements, 1);
299 if (op0->type->base_type == GLSL_TYPE_INT) {
301 op0->type->vector_elements, 1);
303 assert(op0->type->base_type == GLSL_TYPE_INT16);
305 op0->type->vector_elements, 1);
310 if (op0->type->base_type == GLSL_TYPE_UINT) {
312 op0->type->vector_elements, 1);
314 assert(op0->type->base_type == GLSL_TYPE_UINT16);
316 op0->type->vector_elements, 1);
322 op0->type->vector_elements, 1);
331 op0->type->vector_elements, 1);
340 op0->type->vector_elements, 1);
350 op0->type->vector_elements, 1);
360 op0->type->vector_elements, 1);
369 op0->type->vector_elements, 1);
419 this->type = op0->type;
423 this->type = op0->type;
427 op0->type->vector_elements, 1);
439 op0->type->vector_elements, 1);
444 op0->type->vector_elements, 1);
448 op0->type->vector_elements, 1);
453 this->type = op0->type;
458 ir_expression::ir_expression(int op, ir_rvalue *op0, ir_rvalue *op1)
462 this->operands[0] = op0;
489 if (op0->type->is_scalar()) {
492 this->type = op0->type;
495 this->type = glsl_type::get_mul_type(op0->type, op1->type);
497 assert(op0->type == op1->type);
498 this->type = op0->type;
509 assert(!op0->type->is_matrix());
511 if (op0->type->is_scalar()) {
514 this->type = op0->type;
516 assert(op0->type->vector_elements == op1->type->vector_elements);
517 this->type = op0->type;
525 assert(op0->type == op1->type);
527 op0->type->vector_elements, 1);
531 this->type = op0->type->get_base_type();
543 this->type = op0->type;
550 assert(op0->type == op1->type);
551 this->type = op0->type;
557 assert(op0->type == op1->type);
559 switch (op0->type->base_type) {
580 this->type = glsl_type::get_instance(base, op0->type->vector_elements, 1);
585 this->type = op0->type->get_scalar_type();
594 ir_expression::ir_expression(int op, ir_rvalue *op0, ir_rvalue *op1,
599 this->operands[0] = op0;
616 this->type = op0->type;