Home
last modified time | relevance | path

Searched refs:new_var (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dlower_named_interface_blocks.cpp164 ir_variable *new_var; in run() local
168 new_var = in run()
175 new_var = in run()
180 new_var->data.location = iface_t->fields.structure[i].location; in run()
181 new_var->data.explicit_location = (new_var->data.location >= 0); in run()
182 new_var->data.offset = iface_t->fields.structure[i].offset; in run()
183 new_var->data.explicit_xfb_offset = in run()
185 new_var->data.xfb_buffer = in run()
187 new_var->data.explicit_xfb_buffer = in run()
189 new_var->data.interpolation = in run()
[all …]
Dlower_distance.cpp140 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()
[all …]
Dopt_dead_builtin_varyings.cpp354 ir_variable **new_var, in prepare_array() argument
369 new_var[i] = in prepare_array()
375 new_var[i] = in prepare_array()
378 new_var[i]->data.location = start_location + i; in prepare_array()
379 new_var[i]->data.explicit_location = true; in prepare_array()
380 new_var[i]->data.explicit_index = 0; in prepare_array()
383 ir->get_head_raw()->insert_before(new_var[i]); in prepare_array()
Dlower_tess_level.cpp200 ir_variable **new_var = NULL; in lower_tess_level_array() local
204 new_var = &this->new_tess_level_outer_var; in lower_tess_level_array()
208 new_var = &this->new_tess_level_inner_var; in lower_tess_level_array()
211 if (new_var == NULL) in lower_tess_level_array()
215 return new(ralloc_parent(ir)) ir_dereference_variable(*new_var); in lower_tess_level_array()
Dir_clone.cpp174 ir_variable *new_var; in clone() local
178 new_var = entry ? (ir_variable *) entry->data : this->var; in clone()
180 new_var = this->var; in clone()
183 return new(mem_ctx) ir_dereference_variable(new_var); in clone()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_variable.c319 struct rc_variable * new_var; in get_variable_pair_helper() local
343 new_var = rc_variable(c, file, sub_inst->DestIndex, writemask, in get_variable_pair_helper()
345 get_variable_helper(variable_list, new_var); in get_variable_pair_helper()
364 struct rc_variable * new_var; in rc_get_variables() local
372 new_var = rc_variable(c, inst->U.I.DstReg.File, in rc_get_variables()
375 get_variable_helper(&variable_list, new_var); in rc_get_variables()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp285 insert_sorted(struct exec_list *var_list, nir_variable *new_var) in insert_sorted() argument
288 if (var->data.location > new_var->data.location) { in insert_sorted()
289 exec_node_insert_node_before(&var->node, &new_var->node); in insert_sorted()
293 exec_list_push_tail(var_list, &new_var->node); in insert_sorted()
Dst_nir_lower_builtin.c195 nir_variable *new_var = in lower_builtin_block() local
200 nir_ssa_def *def = nir_load_var(b, new_var); in lower_builtin_block()