Home
last modified time | relevance | path

Searched refs:component_slots (Results 1 - 7 of 7) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_const_arrays_to_uniforms.c151 unsigned component_slots = glsl_get_component_slots(var->type); in lower_const_array_to_uniform() local
154 if (component_slots > *free_uni_components) in lower_const_array_to_uniform()
157 *free_uni_components -= component_slots; in lower_const_array_to_uniform()
/third_party/mesa3d/src/compiler/
H A Dglsl_types.h530 unsigned component_slots() const;
H A Dnir_types.cpp203 return type->component_slots(); in glsl_get_component_slots()
H A Dglsl_types.cpp1711 glsl_type::component_slots() const in component_slots() function in glsl_type
1735 size += this->fields.structure[i].type->component_slots(); in component_slots()
1741 return this->length * this->fields.array->component_slots(); in component_slots()
/third_party/mesa3d/src/compiler/glsl/
H A Dgl_nir_link_varyings.c1830 const unsigned component_slots = glsl_get_component_slots(type); in tfeedback_candidate_generator() local
1835 state->varying_floats += component_slots; in tfeedback_candidate_generator()
1838 state->xfb_offset_floats += component_slots; in tfeedback_candidate_generator()
H A Dserialize.cpp483 prog->data->UniformStorage[i].type->component_slots() * in write_uniforms()
553 prog->data->UniformStorage[i].type->component_slots() * in read_uniforms()
H A Dast_to_hir.cpp2800 unsigned components = type->component_slots(); in validate_component_layout_for_type()
7750 4 * field_type->component_slots(); in ast_process_struct_or_iface_block_members()
7756 block_xfb_offset += 4 * field_type->component_slots(); in ast_process_struct_or_iface_block_members()

Completed in 25 milliseconds