Home
last modified time | relevance | path

Searched refs:glsl_align (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dlower_buffer_access.cpp81 field_offset = glsl_align(field_offset, field_align); in emit_access()
99 glsl_align(deref->type->fields.array->std140_size(row_major), 16); in emit_access()
348 array_stride = glsl_align(array_stride, 16); in setup_buffer_access()
396 intra_struct_offset = glsl_align(intra_struct_offset, field_align); in setup_buffer_access()
418 intra_struct_offset = glsl_align(intra_struct_offset, in setup_buffer_access()
Dlink_uniform_blocks.cpp72 this->offset = glsl_align( in enter_record()
75 this->offset = glsl_align( in enter_record()
93 this->offset = glsl_align( in leave_record()
96 this->offset = glsl_align( in leave_record()
170 this->offset = glsl_align(this->offset, alignment); in visit_field()
185 this->buffer_size = glsl_align(this->offset, 16); in visit_field()
Dlink_uniforms.cpp439 ? (items < 3 ? items * N : glsl_align(items * N, 16)) in link_calculate_matrix_stride()
440 : glsl_align(items * N, 16); in link_calculate_matrix_stride()
764 this->ubo_byte_offset = glsl_align( in enter_record()
767 this->ubo_byte_offset = glsl_align( in enter_record()
779 this->ubo_byte_offset = glsl_align( in leave_record()
782 this->ubo_byte_offset = glsl_align( in leave_record()
881 this->ubo_byte_offset = glsl_align(this->ubo_byte_offset, alignment); in visit_field()
894 glsl_align(type->without_array()->std140_size(row_major), in visit_field()
Dlower_ubo_reference.cpp704 array_stride = glsl_align(array_stride, 16); in calculate_unsized_array_stride()
727 array_stride = glsl_align(array_stride, 16); in calculate_unsized_array_stride()
Dlower_shared_reference.cpp111 new_entry->offset = glsl_align(shared_size, var_align); in get_shared_offset()
Dast_to_hir.cpp7327 next_offset = glsl_align(qual_offset + size, align); in ast_process_struct_or_iface_block_members()
7350 fields[i].offset = glsl_align(offset, member_align); in ast_process_struct_or_iface_block_members()
7351 next_offset = glsl_align(fields[i].offset + size, align); in ast_process_struct_or_iface_block_members()
7355 fields[i].offset = glsl_align(offset, expl_align); in ast_process_struct_or_iface_block_members()
7356 next_offset = glsl_align(fields[i].offset + size, align); in ast_process_struct_or_iface_block_members()
7360 next_offset = glsl_align(next_offset + size, align); in ast_process_struct_or_iface_block_members()
7383 fields[i].offset = glsl_align(block_xfb_offset, align); in ast_process_struct_or_iface_block_members()
Dlinker.cpp4232 return glsl_align(array_type->std140_size(row_major), 16); in get_array_stride()
/external/mesa3d/src/compiler/
Dglsl_types.cpp1799 size = glsl_align(size, align); in std140_size()
1805 size = glsl_align(size, 16); in std140_size()
1807 size = glsl_align(size, MAX2(max_align, 16)); in std140_size()
2013 size = glsl_align(size, align); in std430_size()
2018 size = glsl_align(size, max_align); in std430_size()
Dglsl_types.h1054 glsl_align(unsigned int a, unsigned int align) in glsl_align() function