/external/mesa3d/src/compiler/nir/ |
D | nir_lower_clip_cull_distance_arrays.c | 56 return glsl_get_length(type); in get_unwrapped_array_length() 68 type = glsl_array_type(type, glsl_get_length(var->type)); in update_type()
|
D | nir_lower_var_copies.c | 94 unsigned length = glsl_get_length(src_arr_parent->type); in emit_copy_load_store() 96 assert(length == glsl_get_length(dest_arr_parent->type)); in emit_copy_load_store()
|
D | nir_lower_locals_to_regs.c | 108 array_size *= glsl_get_length(tail->type); in get_reg_for_deref() 153 src.reg.base_offset *= glsl_get_length(parent_type); in get_deref_reg_src() 159 load_const->value.u32[0] = glsl_get_length(parent_type); in get_deref_reg_src()
|
D | nir_lower_vars_to_ssa.c | 98 glsl_get_length(type) * sizeof(struct deref_node *); in deref_node_create() 148 assert(deref_struct->index < glsl_get_length(node->type)); in get_deref_node() 167 if (arr->base_offset >= glsl_get_length(node->type)) in get_deref_node()
|
D | nir_lower_samplers.c | 71 *array_elements *= glsl_get_length(tail->type); in calc_sampler_offsets()
|
D | nir_split_var_copies.c | 128 for (unsigned i = 0; i < glsl_get_length(src_tail->type); i++) { in split_var_copy_instr()
|
D | nir_lower_samplers_as_deref.c | 83 unsigned length = glsl_get_length(tail->type); in remove_struct_derefs()
|
D | nir_lower_indirect_derefs.c | 84 int length = glsl_get_length(tail->type); in emit_load_store()
|
D | nir_gather_info.c | 98 var->data.compact ? DIV_ROUND_UP(glsl_get_length(type), 4) in mark_whole_variable()
|
D | nir_lower_io_arrays_to_elements.c | 154 glsl_get_length(element->type)); in lower_array()
|
D | nir_loop_analyze.c | 662 if (glsl_get_length(variable->deref.type) == in force_unroll_array_access()
|
D | nir.c | 749 length = glsl_get_length(tail->type); in deref_foreach_leaf_build_recur() 762 length = glsl_get_length(tail->type); in deref_foreach_leaf_build_recur()
|
/external/mesa3d/src/compiler/spirv/ |
D | vtn_variables.c | 507 unsigned elems = glsl_get_length(tail->type); in _vtn_local_load_store() 518 unsigned elems = glsl_get_length(tail->type); in _vtn_local_load_store() 698 unsigned num_fields = glsl_get_length(type->type); in vtn_type_block_size() 709 vtn_assert(glsl_get_length(type->type) > 0); in vtn_type_block_size() 710 return type->stride * glsl_get_length(type->type); in vtn_type_block_size() 895 unsigned elems = glsl_get_length(type->type); in _vtn_block_load_store() 908 unsigned elems = glsl_get_length(type->type); in _vtn_block_load_store() 1016 unsigned elems = glsl_get_length(ptr->type->type); in _vtn_variable_load_store() 1102 unsigned elems = glsl_get_length(src->type->type); in _vtn_variable_copy() 1506 glsl_get_length(glsl_without_array(vtn_var->type->type)); in var_decoration_cb() [all …]
|
D | spirv_to_nir.c | 169 unsigned elems = glsl_get_length(val->type); in vtn_undef_ssa_value() 250 unsigned elems = glsl_get_length(val->type); in vtn_const_ssa_value() 260 unsigned elems = glsl_get_length(val->type); in vtn_const_ssa_value() 1293 vtn_assert(glsl_get_length(type) > 0); in vtn_null_constant() 1294 c->num_elements = glsl_get_length(type); in vtn_null_constant() 1303 c->num_elements = glsl_get_length(type); in vtn_null_constant() 1794 unsigned elems = glsl_get_length(type); in vtn_create_ssa_value() 2140 vtn_assert(glsl_get_length(gather_offsets->type) == 4); in vtn_handle_texture() 2834 unsigned elems = glsl_get_length(src->type); in vtn_composite_copy()
|
/external/mesa3d/src/compiler/ |
D | nir_types.cpp | 109 glsl_get_length(const struct glsl_type *type) in glsl_get_length() function 433 return glsl_array_type(base, glsl_get_length(t)); in glsl_channel_type()
|
D | nir_types.h | 70 unsigned glsl_get_length(const struct glsl_type *type);
|
/external/mesa3d/src/broadcom/compiler/ |
D | nir_to_vir.c | 1275 unsigned array_len = MAX2(glsl_get_length(var->type), 1); in ntq_setup_inputs() 1325 unsigned array_len = MAX2(glsl_get_length(var->type), 1); in ntq_setup_outputs()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_pipeline.c | 900 glsl_type_is_array(var->type) ? glsl_get_length(var->type) : 1; in anv_pipeline_compile_fs()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_program.c | 1592 unsigned array_len = MAX2(glsl_get_length(var->type), 1); in ntq_setup_inputs() 1623 unsigned array_len = MAX2(glsl_get_length(var->type), 1); in ntq_setup_outputs()
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_compiler_nir.c | 2903 unsigned array_len = MAX2(glsl_get_length(in->type), 1); in setup_input() 2995 unsigned array_len = MAX2(glsl_get_length(out->type), 1); in setup_output()
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.c | 1859 unsigned array_len = MAX2(glsl_get_length(var->type), 1); in ttn_add_output_stores()
|
/external/mesa3d/src/amd/common/ |
D | ac_nir_to_llvm.c | 5711 glsl_get_length(type)); in glsl_to_llvm_type() 5716 LLVMTypeRef member_types[glsl_get_length(type)]; in glsl_to_llvm_type() 5718 for (unsigned i = 0; i < glsl_get_length(type); i++) { in glsl_to_llvm_type() 5725 glsl_get_length(type), false); in glsl_to_llvm_type()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_fs_nir.cpp | 65 var->data.compact ? DIV_ROUND_UP(glsl_get_length(var->type), 4) in nir_setup_outputs() 1609 const unsigned size = glsl_get_length(tail->type); in get_nir_image_deref()
|