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