Lines Matching refs:new_var
140 ir_variable **new_var; in visit() local
150 new_var = &new_distance_out_var; in visit()
155 new_var = &new_distance_in_var; in visit()
164 if (!(*new_var)) { in visit()
168 *new_var = ir->clone(ralloc_parent(ir), NULL); in visit()
169 (*new_var)->name = ralloc_strdup(*new_var, GLSL_CLIP_VAR_NAME); in visit()
170 (*new_var)->data.max_array_access = new_size - 1; in visit()
171 (*new_var)->data.location = VARYING_SLOT_CLIP_DIST0; in visit()
187 (*new_var)->type = glsl_type::get_array_instance(glsl_type::vec4_type, in visit()
201 (*new_var)->type = glsl_type::get_array_instance( in visit()
206 ir->replace_with(*new_var); in visit()
336 ir_variable **new_var = NULL; in lower_distance_vec8() local
339 new_var = &this->new_distance_out_var; in lower_distance_vec8()
343 new_var = &this->new_distance_in_var; in lower_distance_vec8()
345 if (new_var == NULL) in lower_distance_vec8()
349 return new(ralloc_parent(ir)) ir_dereference_variable(*new_var); in lower_distance_vec8()
356 ir_dereference_array(*new_var, array_ref->array_index); in lower_distance_vec8()