Searched refs:glsl_align (Results 1 – 9 of 9) sorted by relevance
/external/mesa3d/src/compiler/glsl/ |
D | lower_buffer_access.cpp | 81 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()
|
D | link_uniform_blocks.cpp | 72 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()
|
D | link_uniforms.cpp | 439 ? (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()
|
D | lower_ubo_reference.cpp | 704 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()
|
D | lower_shared_reference.cpp | 111 new_entry->offset = glsl_align(shared_size, var_align); in get_shared_offset()
|
D | ast_to_hir.cpp | 7327 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()
|
D | linker.cpp | 4232 return glsl_align(array_type->std140_size(row_major), 16); in get_array_stride()
|
/external/mesa3d/src/compiler/ |
D | glsl_types.cpp | 1799 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()
|
D | glsl_types.h | 1054 glsl_align(unsigned int a, unsigned int align) in glsl_align() function
|