Searched refs:elem_align (Results 1 – 6 of 6) sorted by relevance
/third_party/mesa3d/src/compiler/ |
D | nir_types.cpp | 787 unsigned elem_size = 0, elem_align = 0; in glsl_size_align_handle_array_and_structs() local 788 size_align(type->fields.array, &elem_size, &elem_align); in glsl_size_align_handle_array_and_structs() 789 *align = elem_align; in glsl_size_align_handle_array_and_structs() 790 *size = type->length * ALIGN_POT(elem_size, elem_align); in glsl_size_align_handle_array_and_structs() 798 unsigned elem_size = 0, elem_align = 0; in glsl_size_align_handle_array_and_structs() local 799 size_align(type->fields.structure[i].type, &elem_size, &elem_align); in glsl_size_align_handle_array_and_structs() 800 *align = MAX2(*align, elem_align); in glsl_size_align_handle_array_and_structs() 801 *size = ALIGN_POT(*size, elem_align) + elem_size; in glsl_size_align_handle_array_and_structs()
|
D | glsl_types.cpp | 2736 unsigned elem_size, elem_align; in get_explicit_type_for_size_align() local 2738 this->fields.array->get_explicit_type_for_size_align(type_info, &elem_size, &elem_align); in get_explicit_type_for_size_align() 2740 unsigned stride = align(elem_size, elem_align); in get_explicit_type_for_size_align() 2743 *alignment = elem_align; in get_explicit_type_for_size_align()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_deref.c | 281 unsigned elem_size, elem_align; in type_get_array_stride() local 282 size_align(elem_type, &elem_size, &elem_align); in type_get_array_stride() 283 return ALIGN_POT(elem_size, elem_align); in type_get_array_stride() 294 unsigned elem_size, elem_align; in struct_type_get_field_offset() local 295 size_align(glsl_get_struct_field(struct_type, i), &elem_size, &elem_align); in struct_type_get_field_offset() 296 offset = ALIGN_POT(offset, elem_align); in struct_type_get_field_offset()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_nir.cpp | 406 unsigned elem_size, elem_align; in r600_get_natural_size_align_bytes() local 408 &elem_size, &elem_align); in r600_get_natural_size_align_bytes()
|
/third_party/mesa3d/src/compiler/spirv/ |
D | spirv_to_nir.c | 5502 unsigned elem_size, elem_align; in vtn_handle_ptr() local 5504 &elem_size, &elem_align); in vtn_handle_ptr()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
D | stylo.hpp | 177239 void Gecko_ClearPODTArray(void* array, size_t elem_size, size_t elem_align);
|