Home
last modified time | relevance | path

Searched refs:ubo_var (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/glsl/
Dlink_uniforms.cpp230 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
[all …]
Dlower_ubo_reference.cpp59 struct gl_uniform_buffer_variable *ubo_var; member in __anon1315ef220111::lower_ubo_reference_visitor
87 this->ubo_var = &block->Uniforms[var->location]; in handle_rvalue()
90 bool row_major = ubo_var->RowMajor; in handle_rvalue()
99 const_offset += ubo_var->Offset; in handle_rvalue()
221 field->type->std140_base_alignment(ubo_var->RowMajor)); in emit_ubo_loads()
225 field_offset += field->type->std140_size(ubo_var->RowMajor); in emit_ubo_loads()
232 align(deref->type->fields.array->std140_size(ubo_var->RowMajor), 16); in emit_ubo_loads()
263 if (!ubo_var->RowMajor) { in emit_ubo_loads()
Dast_to_hir.cpp4069 struct gl_uniform_buffer_variable *ubo_var = in hir() local
4074 ubo_var->Name = ralloc_strdup(state->uniform_blocks, var->name); in hir()
4075 ubo_var->Type = var->type; in hir()
4076 ubo_var->Buffer = ubo - state->uniform_blocks; in hir()
4077 ubo_var->Offset = 0; /* Assigned at link time. */ in hir()
4081 ubo_var->RowMajor = block_row_major; in hir()
4083 ubo_var->RowMajor = true; in hir()
4085 ubo_var->RowMajor = false; in hir()