Home
last modified time | relevance | path

Searched refs:var_align (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_opt_large_constants.c76 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()
Dnir_lower_scratch.c137 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()
/third_party/mesa3d/src/compiler/glsl/
Dlower_shared_reference.cpp113 unsigned var_align = var->type->std430_base_alignment(false); in get_shared_offset() local
114 new_entry->offset = glsl_align(shared_size, var_align); in get_shared_offset()