Home
last modified time | relevance | path

Searched refs:component_slots (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/compiler/glsl/
Dlower_const_arrays_to_uniforms.cpp92 unsigned component_slots = con->type->component_slots(); in handle_rvalue() local
95 if (component_slots > free_uni_components) in handle_rvalue()
98 free_uni_components -= component_slots; in handle_rvalue()
143 total += var->type->component_slots(); in count_uniforms()
Dlink_varyings.cpp2206 unsigned comp_slots = type->component_slots() + offset; in store_locations()
2311 switch (element_type->component_slots() % 4) { in compute_packing_order()
2493 const unsigned component_slots = type->component_slots(); in visit_field() local
2498 this->varying_floats += component_slots; in visit_field()
2501 this->xfb_offset_floats += component_slots; in visit_field()
Dlink_uniforms.cpp561 const unsigned values = type->component_slots(); in visit_field()
1182 this->values += type->component_slots(); in visit_field()
Dserialize.cpp480 prog->data->UniformStorage[i].type->component_slots() * in write_uniforms()
549 prog->data->UniformStorage[i].type->component_slots() * in read_uniforms()
Dast_to_hir.cpp2786 unsigned components = type->component_slots(); in validate_component_layout_for_type()
7724 4 * field_type->component_slots(); in ast_process_struct_or_iface_block_members()
7730 block_xfb_offset += 4 * field_type->component_slots(); in ast_process_struct_or_iface_block_members()
/third_party/mesa3d/src/compiler/
Dglsl_types.h522 unsigned component_slots() const;
Dnir_types.cpp184 return type->component_slots(); in glsl_get_component_slots()
Dglsl_types.cpp1600 glsl_type::component_slots() const in component_slots() function in glsl_type
1624 size += this->fields.structure[i].type->component_slots(); in component_slots()
1630 return this->length * this->fields.array->component_slots(); in component_slots()