/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_large_constants.c | 69 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 …]
|
D | nir_lower_scratch.c | 40 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()
|
D | nir_deref.h | 57 glsl_type_size_align_func size_align); 60 glsl_type_size_align_func size_align);
|
D | nir_deref.c | 279 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()
|
D | nir.h | 4576 glsl_type_size_align_func size_align); 5516 glsl_type_size_align_func size_align,
|
/third_party/mesa3d/src/compiler/ |
D | nir_types.cpp | 783 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/ |
D | wsi_common_private.h | 203 uint32_t stride_align, uint32_t size_align,
|
D | wsi_common.c | 1550 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/ |
D | generator_impl.cc | 2577 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/ |
D | 19.0.0.rst | 825 size_align.
|
D | 21.0.0.rst | 1090 - nir: Add a size_align helper function for aligning elements to 16 bytes.
|