Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_lower_clip_cull_distance_arrays.c56 return glsl_get_length(type); in get_unwrapped_array_length()
68 type = glsl_array_type(type, glsl_get_length(var->type)); in update_type()
Dnir_lower_var_copies.c94 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()
Dnir_lower_locals_to_regs.c108 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()
Dnir_lower_vars_to_ssa.c98 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()
Dnir_lower_samplers.c71 *array_elements *= glsl_get_length(tail->type); in calc_sampler_offsets()
Dnir_split_var_copies.c128 for (unsigned i = 0; i < glsl_get_length(src_tail->type); i++) { in split_var_copy_instr()
Dnir_lower_samplers_as_deref.c83 unsigned length = glsl_get_length(tail->type); in remove_struct_derefs()
Dnir_lower_indirect_derefs.c84 int length = glsl_get_length(tail->type); in emit_load_store()
Dnir_gather_info.c98 var->data.compact ? DIV_ROUND_UP(glsl_get_length(type), 4) in mark_whole_variable()
Dnir_lower_io_arrays_to_elements.c154 glsl_get_length(element->type)); in lower_array()
Dnir_loop_analyze.c662 if (glsl_get_length(variable->deref.type) == in force_unroll_array_access()
Dnir.c749 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/
Dvtn_variables.c507 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 …]
Dspirv_to_nir.c169 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/
Dnir_types.cpp109 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()
Dnir_types.h70 unsigned glsl_get_length(const struct glsl_type *type);
/external/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c1275 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/
Danv_pipeline.c900 glsl_type_is_array(var->type) ? glsl_get_length(var->type) : 1; in anv_pipeline_compile_fs()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c1592 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/
Dir3_compiler_nir.c2903 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/
Dtgsi_to_nir.c1859 unsigned array_len = MAX2(glsl_get_length(var->type), 1); in ttn_add_output_stores()
/external/mesa3d/src/amd/common/
Dac_nir_to_llvm.c5711 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/
Dbrw_fs_nir.cpp65 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()