/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_find_array_copies.c | 73 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()
|
D | nir_lower_io_to_vector.c | 57 *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() 307 unsigned num_slots = MAX2(glsl_get_length(flat_type), 1); in create_new_io_vars() 700 var->type = glsl_vector_type(GLSL_TYPE_FLOAT, glsl_get_length(var->type)); in nir_vectorize_tess_levels()
|
D | nir_lower_var_copies.c | 74 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()
|
D | nir_gather_xfb_info.c | 81 unsigned length = glsl_get_length(type); in add_var_xfb_outputs() 95 unsigned length = glsl_get_length(type); in add_var_xfb_outputs() 121 comp_slots = glsl_get_length(type); in add_var_xfb_outputs() 246 unsigned nfields = glsl_get_length(itype); in nir_gather_xfb_info_with_varyings()
|
D | nir_split_per_member_structs.c | 54 return glsl_array_type(elem, glsl_get_length(type), 0); in member_type() 57 assert(index < glsl_get_length(type)); in member_type()
|
D | nir_lower_variable_initializers.c | 39 unsigned len = glsl_get_length(deref->type); in build_constant_load() 47 unsigned len = glsl_get_length(deref->type); in build_constant_load()
|
D | nir_split_vars.c | 111 field->num_fields = glsl_get_length(struct_type), in init_field_for_type() 407 info->levels[i].array_len = glsl_get_length(type); in init_var_list_array_infos() 685 assert(glsl_get_length(dst_path->path[dst_level]->type) == in emit_split_copies() 686 glsl_get_length(src_path->path[src_level]->type)); in emit_split_copies() 687 unsigned len = glsl_get_length(dst_path->path[dst_level]->type); in emit_split_copies() 1003 usage->levels[i].array_len = glsl_get_length(type); in get_vec_var_usage() 1370 assert(usage->levels[i].array_len <= glsl_get_length(vec_type)); in shrink_vec_var_list() 1371 if (usage->levels[i].array_len < glsl_get_length(vec_type)) in shrink_vec_var_list()
|
D | nir_lower_indirect_derefs.c | 77 int length = glsl_get_length(parent->type); in emit_load_store_deref() 145 indirect_array_len *= glsl_get_length(parent->type); in lower_indirect_derefs_block()
|
D | nir_opt_memcpy.c | 77 unsigned num_fields = glsl_get_length(type); in type_is_tightly_packed() 108 size = stride * glsl_get_length(type); in type_is_tightly_packed()
|
D | nir_lower_locals_to_regs.c | 115 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()
|
D | nir_lower_vars_to_ssa.c | 113 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()
|
D | nir_split_var_copies.c | 76 for (unsigned i = 0; i < glsl_get_length(src->type); i++) { in split_deref_copy_instr()
|
D | nir_lower_clip_cull_distance_arrays.c | 61 return glsl_get_length(type); in get_unwrapped_array_length()
|
D | nir_lower_samplers.c | 83 array_elements *= glsl_get_length(parent->type); in lower_tex_src_to_offset()
|
D | nir_lower_clip_disable.c | 109 unsigned length = glsl_get_length(nir_deref_instr_parent(deref)->type); in lower_clip_plane_store()
|
D | nir_lower_tex_shadow.c | 65 glsl_get_length(type), 0); in strip_shadow_with_array()
|
D | nir_lower_texcoord_replace.c | 45 unsigned size = glsl_get_length((*p)->type); in get_io_index()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | gl_nir_link_uniform_initializers.c | 46 for (unsigned int i = 0; i < glsl_get_length(type); i++) in set_opaque_binding() 195 for (unsigned int i = 0; i < glsl_get_length(type); i++) { in set_uniform_initializer() 207 for (unsigned int i = 0; i < glsl_get_length(type); i++) in set_uniform_initializer() 227 assert(glsl_get_length(type) >= storage->array_elements); in set_uniform_initializer()
|
D | gl_nir_link_uniforms.c | 65 for (unsigned i = 0; i < glsl_get_length(type); i++) in uniform_storage_size() 76 glsl_get_length(type) : 1; in uniform_storage_size() 456 dr->size = glsl_get_length(deref_type); in add_var_use_deref() 922 unsigned length = glsl_get_length(type); in find_and_update_named_uniform_storage() 1104 entry->array_size = glsl_get_length(type); in build_type_tree_for_type() 1110 for (unsigned i = 0; i < glsl_get_length(type); i++) { in build_type_tree_for_type() 1218 state->top_level_array_size = glsl_get_length(type); in nir_link_uniform() 1245 unsigned length = glsl_get_length(type); in nir_link_uniform() 1356 uniform->array_elements = glsl_get_length(type); in nir_link_uniform() 1765 glsl_get_length(var->type) : 1; in gl_nir_link_uniforms()
|
D | gl_nir_link_atomics.c | 94 for (unsigned i = 0; i < glsl_get_length(t); i++) { in process_atomic_variable() 123 buf->stage_counter_references[shader_stage] += glsl_get_length(t); in process_atomic_variable()
|
D | gl_nir_link_uniform_blocks.c | 321 for (unsigned i = 0; i < glsl_get_length(type); i++) { in iterate_type_count_variables() 377 unsigned length = glsl_get_length(type); in iterate_type_fill_variables()
|
/third_party/mesa3d/src/compiler/ |
D | nir_types.cpp | 169 glsl_get_length(const struct glsl_type *type) in glsl_get_length() function 963 return glsl_get_length(type) * in glsl_type_count() 972 for (unsigned i = 0; i < glsl_get_length(type); i++) in glsl_type_count() 1092 return glsl_array_type(elem_type, glsl_get_length(arrays), in glsl_type_wrap_in_arrays()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi_info.c | 68 unsigned elem_size = is_compact ? DIV_ROUND_UP(glsl_get_length(deref->type), 4) : in gather_usage_helper() 78 glsl_get_length(deref_ptr[-1]->type); in gather_usage_helper() 499 unsigned attrib_count = variable->data.compact ? DIV_ROUND_UP(glsl_get_length(type), 4) : in nir_tgsi_scan_shader() 599 unsigned attrib_count = variable->data.compact ? DIV_ROUND_UP(glsl_get_length(type), 4) : in nir_tgsi_scan_shader()
|
/third_party/mesa3d/src/compiler/spirv/ |
D | vtn_cfg.c | 41 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()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_compiler.c | 547 …bool has_unsized = glsl_array_size(glsl_get_struct_field(strct_type, glsl_get_length(strct_type) -… in bound_bo_access_instr() 769 …for (unsigned i = 0; i < glsl_get_length(slot_type) && cur_slot <= *slot_idx; i++, cur_slot += slo… in unroll_struct_type() 1196 unsigned array_size = glsl_get_length(var->type); in get_bo_var() 1199 unsigned length = glsl_get_length(array_type); in get_bo_var() 1210 …var->type = glsl_array_type(glsl_struct_type(fields, glsl_get_length(bare_type), "struct", false),… in get_bo_var() 1536 unsigned nmembers = glsl_get_length(type); in rewrite_64bit_type() 1711 assert(member < glsl_get_length(var_deref->type)); in lower_64bit_vars() 1775 assert(member < glsl_get_length(var_deref->type)); in lower_64bit_vars() 1855 if (!glsl_type_is_struct(var->type) || glsl_get_length(var->type) == 1) in split_blocks() 1860 for (unsigned i = 0; i < glsl_get_length(var->type); i++) { in split_blocks() [all …]
|