Home
last modified time | relevance | path

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

/third_party/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()
83 nir_ssa_def *src = nir_build_deref_offset(b, deref, size_align); in build_constant_load()
107 glsl_type_size_align_func size_align) in handle_constant_store() argument
115 size_align(info->var->type, &var_size, &var_align); in handle_constant_store()
120 const unsigned offset = nir_deref_instr_get_const_offset(deref, size_align); in handle_constant_store()
168 glsl_type_size_align_func size_align, in nir_opt_large_constants() argument
172 if (size_align == NULL) in nir_opt_large_constants()
173 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()
102 glsl_type_size_align_func size_align) in nir_lower_vars_to_scratch() argument
138 size_align(var->type, &var_size, &var_align); in nir_lower_vars_to_scratch()
211 size_align(var->type, &var_size, &var_align); in nir_lower_vars_to_scratch()
217 lower_load_store(&build, intrin, size_align); in nir_lower_vars_to_scratch()
Dnir_deref.h57 glsl_type_size_align_func size_align);
60 glsl_type_size_align_func size_align);
Dnir_deref.c279 glsl_type_size_align_func size_align) in type_get_array_stride() argument
282 size_align(elem_type, &elem_size, &elem_align); in type_get_array_stride()
288 glsl_type_size_align_func size_align, in struct_type_get_field_offset() argument
295 size_align(glsl_get_struct_field(struct_type, i), &elem_size, &elem_align); in struct_type_get_field_offset()
305 glsl_type_size_align_func size_align) in nir_deref_instr_get_const_offset() argument
315 type_get_array_stride((*p)->type, size_align); in nir_deref_instr_get_const_offset()
320 offset += struct_type_get_field_offset(parent->type, size_align, in nir_deref_instr_get_const_offset()
339 glsl_type_size_align_func size_align) in nir_build_deref_offset() argument
350 int stride = type_get_array_stride((*p)->type, size_align); in nir_build_deref_offset()
358 struct_type_get_field_offset(parent->type, size_align, in nir_build_deref_offset()
Dnir.h4576 glsl_type_size_align_func size_align);
5516 glsl_type_size_align_func size_align,
/third_party/mesa3d/src/compiler/
Dnir_types.cpp783 glsl_type_size_align_func size_align, in glsl_size_align_handle_array_and_structs() argument
788 size_align(type->fields.array, &elem_size, &elem_align); in glsl_size_align_handle_array_and_structs()
799 size_align(type->fields.structure[i].type, &elem_size, &elem_align); in glsl_size_align_handle_array_and_structs()
/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_private.h203 uint32_t stride_align, uint32_t size_align,
Dwsi_common.c1550 uint32_t stride_align, uint32_t size_align, in wsi_configure_buffer_image() argument
1556 assert(util_is_power_of_two_nonzero(size_align)); in wsi_configure_buffer_image()
1578 info->linear_size = ALIGN_POT(info->linear_size, size_align); in wsi_configure_buffer_image()
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl.cc2577 auto size_align = MslPackedTypeSizeAndAlign(ty); in EmitStructType() local
2578 if (msl_offset % size_align.align) { in EmitStructType()
2584 msl_offset += size_align.size; in EmitStructType()
/third_party/mesa3d/docs/relnotes/
D19.0.0.rst825 size_align.
D21.0.0.rst1090 - nir: Add a size_align helper function for aligning elements to 16 bytes.