Lines Matching defs:expr
240 ir_expression *const expr =
245 *rv = expr;
255 ir_expression *const expr = (ir_expression *) ir->lhs;
261 assert(expr->operation == ir_binop_vector_extract);
262 assert(expr->operands[0]->ir_type == ir_type_dereference_variable);
263 assert((expr->operands[0]->type == glsl_type::vec4_type) ||
264 (expr->operands[0]->type == glsl_type::vec2_type));
266 ir_dereference *const new_lhs = (ir_dereference *) expr->operands[0];
269 expr->operands[1]->constant_expression_value(mem_ctx);
272 expr->operands[0]->type,
275 expr->operands[1]);
285 ir->write_mask = (1 << expr->operands[0]->type->vector_elements) - 1;