Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_opt_large_constants.c69 glsl_type_size_align_func size_align) in build_constant_load() argument
77 size_align(var->type, &var_size, &var_align); in build_constant_load()
81 size_align(deref->type, &deref_size, &deref_align); in build_constant_load()
89 load->src[0] = nir_src_for_ssa(nir_build_deref_offset(b, deref, size_align)); in build_constant_load()
110 glsl_type_size_align_func size_align) in handle_constant_store() argument
118 size_align(info->var->type, &var_size, &var_align); in handle_constant_store()
123 const unsigned offset = nir_deref_instr_get_const_offset(deref, size_align); in handle_constant_store()
171 glsl_type_size_align_func size_align, in nir_opt_large_constants() argument
175 if (size_align == NULL) in nir_opt_large_constants()
176 size_align = glsl_get_natural_size_align_bytes; in nir_opt_large_constants()
[all …]
Dnir_lower_scratch.c40 glsl_type_size_align_func size_align) in lower_load_store() argument
48 nir_iadd_imm(b, nir_build_deref_offset(b, deref, size_align), in lower_load_store()
52 size_align(deref->type, &size, &align); in lower_load_store()
98 glsl_type_size_align_func size_align) in nir_lower_vars_to_scratch() argument
130 size_align(var->type, &var_size, &var_align); in nir_lower_vars_to_scratch()
169 lower_load_store(&build, intrin, size_align); in nir_lower_vars_to_scratch()
Dnir_deref.h52 glsl_type_size_align_func size_align);
55 glsl_type_size_align_func size_align);
Dnir_deref.c269 glsl_type_size_align_func size_align) in type_get_array_stride() argument
272 size_align(elem_type, &elem_size, &elem_align); in type_get_array_stride()
278 glsl_type_size_align_func size_align, in struct_type_get_field_offset() argument
285 size_align(glsl_get_struct_field(struct_type, i), &elem_size, &elem_align); in struct_type_get_field_offset()
295 glsl_type_size_align_func size_align) in nir_deref_instr_get_const_offset() argument
305 type_get_array_stride((*p)->type, size_align); in nir_deref_instr_get_const_offset()
310 offset += struct_type_get_field_offset(parent->type, size_align, in nir_deref_instr_get_const_offset()
329 glsl_type_size_align_func size_align) in nir_build_deref_offset() argument
339 int stride = type_get_array_stride((*p)->type, size_align); in nir_build_deref_offset()
347 struct_type_get_field_offset(parent->type, size_align, in nir_build_deref_offset()
Dnir.h4357 glsl_type_size_align_func size_align);
5083 glsl_type_size_align_func size_align,
/external/libaom/libaom/aom/src/
Daom_image.c22 unsigned int size_align) { in align_image_dimension() argument
26 align = (size_align - 1 > align) ? (size_align - 1) : align; in align_image_dimension()
32 unsigned int buf_align, unsigned int stride_align, unsigned int size_align, in img_alloc_helper() argument
54 if (!size_align) size_align = 1; in img_alloc_helper()
57 if (size_align & (size_align - 1)) goto fail; in img_alloc_helper()
100 w = align_image_dimension(d_w, xcs, size_align); in img_alloc_helper()
101 h = align_image_dimension(d_h, ycs, size_align); in img_alloc_helper()
195 unsigned int size_align, in aom_img_alloc_with_border() argument
197 return img_alloc_helper(img, fmt, d_w, d_h, align, align, size_align, border, in aom_img_alloc_with_border()
/external/libaom/libaom/aom/
Daom_image.h297 unsigned int size_align,
/external/mesa3d/docs/relnotes/
D19.0.0.rst825 size_align.