/external/mesa3d/src/compiler/nir/ |
D | nir_gather_xfb_info.c | 80 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()
|
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_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_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() 305 for (unsigned i = 0; i < glsl_get_length(flat_type); i++) { in create_new_io_vars()
|
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_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_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_split_vars.c | 91 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()
|
D | nir_lower_indirect_derefs.c | 77 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()
|
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_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 | 56 return glsl_get_length(type); in get_unwrapped_array_length()
|
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_lower_samplers.c | 83 array_elements *= glsl_get_length(parent->type); in lower_tex_src_to_offset()
|
D | nir_lower_clip_disable.c | 108 unsigned length = glsl_get_length(nir_deref_instr_parent(deref)->type); in lower_clip_plane_store()
|
/external/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() 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()
|
D | gl_nir_link_uniforms.c | 63 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()
|
D | gl_nir_link_atomics.c | 92 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()
|
D | gl_nir_link_uniform_blocks.c | 321 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()
|
D | gl_nir_link_xfb.c | 158 glsl_get_length(xfb_varying->type) : 1; in gl_nir_link_assign_xfb_resources()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_nir_uniforms.cpp | 125 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/ |
D | nir_to_tgsi_info.c | 67 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/ |
D | nir_types.cpp | 150 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/ |
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()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_shader_info.c | 324 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()
|