Searched refs:var_align (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_large_constants.c | 76 UNUSED unsigned var_size, var_align; in build_constant_load() local 77 size_align(var->type, &var_size, &var_align); in build_constant_load() 78 assert(var->data.location % var_align == 0); in build_constant_load() 114 unsigned var_size, var_align; in handle_constant_store() local 115 size_align(info->var->type, &var_size, &var_align); in handle_constant_store() 306 unsigned var_size, var_align; in nir_opt_large_constants() local 307 size_align(info->var->type, &var_size, &var_align); in nir_opt_large_constants() 318 info->var->data.location = ALIGN_POT(shader->constant_data_size, var_align); in nir_opt_large_constants()
|
D | nir_lower_scratch.c | 137 unsigned var_size, var_align; in nir_lower_vars_to_scratch() local 138 size_align(var->type, &var_size, &var_align); in nir_lower_vars_to_scratch() 210 unsigned var_size, var_align; in nir_lower_vars_to_scratch() local 211 size_align(var->type, &var_size, &var_align); in nir_lower_vars_to_scratch() 213 var->data.location = ALIGN_POT(shader->scratch_size, var_align); in nir_lower_vars_to_scratch()
|