Searched refs:var_infos (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_large_constants.c | 185 struct var_info *var_infos = ralloc_array(NULL, struct var_info, num_locals); in nir_opt_large_constants() local 187 var_infos[var->index] = (struct var_info) { in nir_opt_large_constants() 210 var_infos[deref->var->index].is_constant = false; in nir_opt_large_constants() 248 struct var_info *info = &var_infos[var->index]; in nir_opt_large_constants() 264 handle_constant_store(var_infos, info, dst_deref, val, writemask, in nir_opt_large_constants() 279 struct var_info *info = &var_infos[var->index]; in nir_opt_large_constants() 296 qsort(var_infos, num_locals, sizeof(struct var_info), var_info_cmp); in nir_opt_large_constants() 298 struct var_info *info = &var_infos[i]; in nir_opt_large_constants() 314 if (i > 0 && var_info_cmp(info, &var_infos[i - 1]) == 0) { in nir_opt_large_constants() 315 info->var->data.location = var_infos[i - 1].var->data.location; in nir_opt_large_constants() [all …]
|
D | nir_lower_const_arrays_to_uniforms.c | 249 struct var_info *var_infos = ralloc_array(NULL, struct var_info, num_locals); in nir_lower_const_arrays_to_uniforms() local 251 var_infos[var->index] = (struct var_info) { in nir_lower_const_arrays_to_uniforms() 277 var_infos[deref->var->index].is_constant = false; in nir_lower_const_arrays_to_uniforms() 313 struct var_info *info = &var_infos[var->index]; in nir_lower_const_arrays_to_uniforms() 340 struct var_info *info = &var_infos[var->index]; in nir_lower_const_arrays_to_uniforms() 354 struct var_info *info = &var_infos[i]; in nir_lower_const_arrays_to_uniforms() 415 ralloc_free(var_infos); in nir_lower_const_arrays_to_uniforms()
|