Searched refs:glsl_align (Results 1 – 10 of 10) sorted by relevance
/third_party/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 | 73 this->offset = glsl_align( in enter_record() 76 this->offset = glsl_align( in enter_record() 94 this->offset = glsl_align( in leave_record() 97 this->offset = glsl_align( in leave_record() 171 this->offset = glsl_align(this->offset, alignment); in visit_field() 186 this->buffer_size = glsl_align(this->offset, 16); in visit_field()
|
D | link_uniforms.cpp | 182 return glsl_align(array_type->std140_size(row_major), 16); in get_array_stride() 662 ? (items < 3 ? items * N : glsl_align(items * N, 16)) in link_calculate_matrix_stride() 663 : glsl_align(items * N, 16); in link_calculate_matrix_stride() 1024 this->ubo_byte_offset = glsl_align( in enter_record() 1027 this->ubo_byte_offset = glsl_align( in enter_record() 1039 this->ubo_byte_offset = glsl_align( in leave_record() 1042 this->ubo_byte_offset = glsl_align( in leave_record() 1142 this->ubo_byte_offset = glsl_align(this->ubo_byte_offset, alignment); in visit_field() 1155 glsl_align(type->without_array()->std140_size(row_major), in visit_field()
|
D | gl_nir_link_uniforms.c | 1130 state->offset = glsl_align( in enter_record() 1133 state->offset = glsl_align( in enter_record() 1153 state->offset = glsl_align( in leave_record() 1156 state->offset = glsl_align( in leave_record() 1398 state->offset = glsl_align(state->offset, alignment); in nir_link_uniform()
|
D | gl_nir_link_uniform_blocks.c | 536 block->UniformBufferSize = glsl_align(block->UniformBufferSize, 16); in fill_block()
|
D | lower_ubo_reference.cpp | 707 array_stride = glsl_align(array_stride, 16); in calculate_unsized_array_stride() 730 array_stride = glsl_align(array_stride, 16); in calculate_unsized_array_stride()
|
D | lower_shared_reference.cpp | 114 new_entry->offset = glsl_align(shared_size, var_align); in get_shared_offset()
|
D | ast_to_hir.cpp | 7696 fields[i].offset = glsl_align(offset, member_align); in ast_process_struct_or_iface_block_members() 7701 fields[i].offset = glsl_align(offset, expl_align); in ast_process_struct_or_iface_block_members() 7706 next_offset = glsl_align(next_offset, align) + size; in ast_process_struct_or_iface_block_members() 7729 fields[i].offset = glsl_align(block_xfb_offset, align); in ast_process_struct_or_iface_block_members()
|
/third_party/mesa3d/src/compiler/ |
D | glsl_types.cpp | 2125 size = glsl_align(size, align); in std140_size() 2131 size = glsl_align(size, 16); in std140_size() 2133 size = glsl_align(size, MAX2(max_align, 16)); in std140_size() 2153 unsigned stride = glsl_align(elem_size, 16); in get_explicit_std140_type() 2160 unsigned stride = glsl_align(elem_size, 16); in get_explicit_std140_type() 2193 offset = glsl_align(offset, falign); in get_explicit_std140_type() 2488 size = glsl_align(size, align); in std430_size() 2493 size = glsl_align(size, max_align); in std430_size() 2551 offset = glsl_align(offset, falign); in get_explicit_std430_type()
|
D | glsl_types.h | 1502 glsl_align(unsigned int a, unsigned int align) in glsl_align() function
|