Home
last modified time | relevance | path

Searched refs:glsl_get_length (Results 1 – 25 of 55) sorted by relevance

123

/external/mesa3d/src/compiler/nir/
Dnir_gather_xfb_info.c80 unsigned length = glsl_get_length(type); in add_var_xfb_outputs()
94 unsigned length = glsl_get_length(type); in add_var_xfb_outputs()
120 comp_slots = glsl_get_length(type); in add_var_xfb_outputs()
245 unsigned nfields = glsl_get_length(itype); in nir_gather_xfb_info_with_varyings()
Dnir_opt_find_array_copies.c73 num_children = glsl_get_length(type) + 1; in create_match_node()
75 num_children = glsl_get_length(type); in create_match_node()
153 unsigned idx = glsl_get_length(type); in node_for_wildcard()
354 glsl_get_length(nir_deref_instr_parent(b)->type) == in try_match_deref()
355 glsl_get_length(nir_deref_instr_parent(dst)->type)) { in try_match_deref()
486 dst_node->next_array_idx == glsl_get_length((*(instr - 1))->type)) { in handle_write()
Dnir_lower_variable_initializers.c39 unsigned len = glsl_get_length(deref->type); in build_constant_load()
47 unsigned len = glsl_get_length(deref->type); in build_constant_load()
Dnir_lower_io_to_vector.c57 *num_vertices = glsl_get_length(var->type); in get_per_vertex_type()
72 return glsl_array_type(arr_elem, glsl_get_length(type), 0); in resize_array_vec_type()
103 if (glsl_get_length(a_type_tail) != glsl_get_length(b_type_tail)) in variables_can_merge()
305 for (unsigned i = 0; i < glsl_get_length(flat_type); i++) { in create_new_io_vars()
Dnir_lower_var_copies.c74 unsigned length = glsl_get_length(src_deref->type); in emit_deref_copy_load_store()
76 assert(length == glsl_get_length(dst_deref->type)); in emit_deref_copy_load_store()
Dnir_split_per_member_structs.c54 return glsl_array_type(elem, glsl_get_length(type), 0); in member_type()
57 assert(index < glsl_get_length(type)); in member_type()
Dnir_opt_memcpy.c77 unsigned num_fields = glsl_get_length(type); in type_is_tightly_packed()
108 size = stride * glsl_get_length(type); in type_is_tightly_packed()
Dnir_split_vars.c91 return glsl_array_type(elem_type, glsl_get_length(array_type), 0); in wrap_type_in_array()
124 field->num_fields = glsl_get_length(struct_type), in init_field_for_type()
419 info->levels[i].array_len = glsl_get_length(type); in init_var_list_array_infos()
696 assert(glsl_get_length(dst_path->path[dst_level]->type) == in emit_split_copies()
697 glsl_get_length(src_path->path[src_level]->type)); in emit_split_copies()
698 unsigned len = glsl_get_length(dst_path->path[dst_level]->type); in emit_split_copies()
1014 usage->levels[i].array_len = glsl_get_length(type); in get_vec_var_usage()
1381 assert(usage->levels[i].array_len <= glsl_get_length(vec_type)); in shrink_vec_var_list()
1382 if (usage->levels[i].array_len < glsl_get_length(vec_type)) in shrink_vec_var_list()
Dnir_lower_indirect_derefs.c77 int length = glsl_get_length(parent->type); in emit_load_store_deref()
144 indirect_array_len *= glsl_get_length(parent->type); in lower_indirect_derefs_block()
Dnir_lower_locals_to_regs.c115 array_size *= glsl_get_length(nir_deref_instr_parent(d)->type); in get_reg_for_deref()
175 inner_array_size *= glsl_get_length(nir_deref_instr_parent(d)->type); in get_deref_reg_src()
Dnir_split_var_copies.c76 for (unsigned i = 0; i < glsl_get_length(src->type); i++) { in split_deref_copy_instr()
Dnir_lower_clip_cull_distance_arrays.c56 return glsl_get_length(type); in get_unwrapped_array_length()
Dnir_lower_vars_to_ssa.c113 glsl_get_length(type) * sizeof(struct deref_node *); in deref_node_create()
170 assert(deref->strct.index < glsl_get_length(parent->type)); in get_deref_node_recur()
187 if (index >= glsl_get_length(parent->type)) in get_deref_node_recur()
Dnir_lower_samplers.c83 array_elements *= glsl_get_length(parent->type); in lower_tex_src_to_offset()
Dnir_lower_clip_disable.c108 unsigned length = glsl_get_length(nir_deref_instr_parent(deref)->type); in lower_clip_plane_store()
/external/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_initializers.c46 for (unsigned int i = 0; i < glsl_get_length(type); i++) in set_opaque_binding()
194 for (unsigned int i = 0; i < glsl_get_length(type); i++) { in set_uniform_initializer()
206 for (unsigned int i = 0; i < glsl_get_length(type); i++) in set_uniform_initializer()
226 assert(glsl_get_length(type) >= storage->array_elements); in set_uniform_initializer()
Dgl_nir_link_uniforms.c63 for (unsigned i = 0; i < glsl_get_length(type); i++) in uniform_storage_size()
74 glsl_get_length(type) : 1; in uniform_storage_size()
429 dr->size = glsl_get_length(deref_type); in add_var_use_deref()
884 unsigned length = glsl_get_length(type); in find_and_update_named_uniform_storage()
1066 entry->array_size = glsl_get_length(type); in build_type_tree_for_type()
1072 for (unsigned i = 0; i < glsl_get_length(type); i++) { in build_type_tree_for_type()
1180 state->top_level_array_size = glsl_get_length(type); in nir_link_uniform()
1207 unsigned length = glsl_get_length(type); in nir_link_uniform()
1317 uniform->array_elements = glsl_get_length(type); in nir_link_uniform()
1716 glsl_get_length(var->type) : 1; in gl_nir_link_uniforms()
Dgl_nir_link_atomics.c92 for (unsigned i = 0; i < glsl_get_length(t); i++) { in process_atomic_variable()
121 buf->stage_counter_references[shader_stage] += glsl_get_length(t); in process_atomic_variable()
Dgl_nir_link_uniform_blocks.c321 for (unsigned i = 0; i < glsl_get_length(type); i++) { in iterate_type_count_variables()
379 for (unsigned i = 0; i < glsl_get_length(type); i++) { in iterate_type_fill_variables()
Dgl_nir_link_xfb.c158 glsl_get_length(xfb_varying->type) : 1; in gl_nir_link_assign_xfb_resources()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_nir_uniforms.cpp125 for (unsigned i = 0; i < glsl_get_length(type); i++) { in count_uniform_storage_slots()
140 return element_count * glsl_get_length(type); in count_uniform_storage_slots()
291 array_size *= glsl_get_length(deref->type); in get_aoa_deref_offset()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c67 unsigned elem_size = is_compact ? DIV_ROUND_UP(glsl_get_length(deref->type), 4) : in gather_usage_helper()
77 glsl_get_length(deref_ptr[-1]->type); in gather_usage_helper()
506 unsigned attrib_count = variable->data.compact ? DIV_ROUND_UP(glsl_get_length(type), 4) : in nir_tgsi_scan_shader()
606 unsigned attrib_count = variable->data.compact ? DIV_ROUND_UP(glsl_get_length(type), 4) : in nir_tgsi_scan_shader()
/external/mesa3d/src/compiler/
Dnir_types.cpp150 glsl_get_length(const struct glsl_type *type) in glsl_get_length() function
829 for (unsigned i = 0; i < glsl_get_length(type); i++) in glsl_type_get_sampler_count()
853 for (unsigned i = 0; i < glsl_get_length(type); i++) in glsl_type_get_image_count()
/external/mesa3d/src/compiler/spirv/
Dvtn_cfg.c41 return glsl_get_length(type) * in glsl_type_count_function_params()
46 unsigned elems = glsl_get_length(type); in glsl_type_count_function_params()
66 unsigned elems = glsl_get_length(type); in glsl_type_add_to_function_params()
72 unsigned elems = glsl_get_length(type); in glsl_type_add_to_function_params()
89 unsigned elems = glsl_get_length(value->type); in vtn_ssa_value_add_to_call_params()
105 unsigned elems = glsl_get_length(value->type); in vtn_ssa_value_load_function_param()
/external/mesa3d/src/amd/vulkan/
Dradv_shader_info.c324 for (unsigned i = 0; i < glsl_get_length(type); ++i) { in mark_16bit_ps_input()
329 for (unsigned i = 0; i < glsl_get_length(type); i++) { in mark_16bit_ps_input()
371 glsl_get_length(var->type); in gather_info_input_decl_ps()

123