Lines Matching refs:ubo_var
230 ubo_var = NULL; in set_and_process()
246 ubo_var = &block->Uniforms[var->location]; in set_and_process()
247 ubo_byte_offset = ubo_var->Offset; in set_and_process()
253 struct gl_uniform_buffer_variable *ubo_var; member in parcel_out_uniform_storage
333 if (this->ubo_var) { in visit_field()
336 unsigned alignment = type->std140_base_alignment(ubo_var->RowMajor); in visit_field()
339 this->ubo_byte_offset += type->std140_size(ubo_var->RowMajor); in visit_field()
343 align(type->fields.array->std140_size(ubo_var->RowMajor), 16); in visit_field()
351 this->uniforms[id].row_major = ubo_var->RowMajor; in visit_field()
440 struct gl_uniform_buffer_variable *ubo_var = in link_cross_validate_uniform_block() local
443 ubo_var->Name = ralloc_strdup(*linked_blocks, ubo_var->Name); in link_cross_validate_uniform_block()
493 struct gl_uniform_buffer_variable *ubo_var = &block->Uniforms[i]; in link_assign_uniform_block_offsets() local
494 const struct glsl_type *type = ubo_var->Type; in link_assign_uniform_block_offsets()
496 unsigned alignment = type->std140_base_alignment(ubo_var->RowMajor); in link_assign_uniform_block_offsets()
497 unsigned size = type->std140_size(ubo_var->RowMajor); in link_assign_uniform_block_offsets()
500 ubo_var->Offset = offset; in link_assign_uniform_block_offsets()