Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/spirv/
Dvtn_variables.c206 unsigned elems = glsl_get_length(tail->type); in _vtn_local_load_store()
217 unsigned elems = glsl_get_length(tail->type); in _vtn_local_load_store()
416 unsigned num_fields = glsl_get_length(type->type); in vtn_type_block_size()
427 assert(glsl_get_length(type->type) > 0); in vtn_type_block_size()
428 return type->stride * glsl_get_length(type->type); in vtn_type_block_size()
648 unsigned elems = glsl_get_length(type->type); in _vtn_block_load_store()
661 unsigned elems = glsl_get_length(type->type); in _vtn_block_load_store()
762 unsigned elems = glsl_get_length(tail_type->type); in _vtn_variable_load_store()
837 unsigned elems = glsl_get_length(tail_type->type); in _vtn_variable_copy()
1213 glsl_get_length(glsl_without_array(vtn_var->type->type)); in var_decoration_cb()
[all …]
Dspirv_to_nir.c68 unsigned elems = glsl_get_length(val->type); in vtn_undef_ssa_value()
144 unsigned elems = glsl_get_length(val->type); in vtn_const_ssa_value()
154 unsigned elems = glsl_get_length(val->type); in vtn_const_ssa_value()
433 unsigned elems = glsl_get_length(src->type); in vtn_type_copy()
918 assert(glsl_get_length(type) > 0); in vtn_null_constant()
919 c->num_elements = glsl_get_length(type); in vtn_null_constant()
928 c->num_elements = glsl_get_length(type); in vtn_null_constant()
1363 unsigned elems = glsl_get_length(type); in vtn_create_ssa_value()
1705 assert(glsl_get_length(gather_offsets->type) == 4); in vtn_handle_texture()
2350 unsigned elems = glsl_get_length(src->type); in vtn_composite_copy()
Dvtn_cfg.c52 func->num_params = glsl_get_length(func_type); in vtn_cfg_handle_prepass_instruction()
/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.c109 array_size *= glsl_get_length(tail->type); in get_reg_for_deref()
154 src.reg.base_offset *= glsl_get_length(parent_type); in get_deref_reg_src()
160 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_gather_info.c88 var->data.compact ? DIV_ROUND_UP(glsl_get_length(type), 4) in mark_whole_variable()
Dnir_lower_indirect_derefs.c109 int length = glsl_get_length(tail->type); in emit_load_store()
Dnir_loop_analyze.c662 if (glsl_get_length(variable->deref.type) == in force_unroll_array_access()
Dnir.c717 length = glsl_get_length(tail->type); in deref_foreach_leaf_build_recur()
730 length = glsl_get_length(tail->type); in deref_foreach_leaf_build_recur()
/external/mesa3d/src/compiler/
Dnir_types.h67 unsigned glsl_get_length(const struct glsl_type *type);
Dnir_types.cpp100 glsl_get_length(const struct glsl_type *type) in glsl_get_length() function
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_compiler_nir.c258 unsigned length = glsl_get_length(var->type) * 4; /* always vec4, at least with ttn */ in declare_var()
2021 unsigned array_len = MAX2(glsl_get_length(in->type), 1); in setup_input()
2113 unsigned array_len = MAX2(glsl_get_length(out->type), 1); in setup_output()
/external/mesa3d/src/intel/vulkan/
Danv_pipeline.c826 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.c1581 unsigned array_len = MAX2(glsl_get_length(var->type), 1); in ntq_setup_inputs()
1612 unsigned array_len = MAX2(glsl_get_length(var->type), 1); in ntq_setup_outputs()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c1941 unsigned array_len = MAX2(glsl_get_length(var->type), 1); in ttn_add_output_stores()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_nir.cpp59 var->data.compact ? DIV_ROUND_UP(glsl_get_length(var->type), 4) in nir_setup_outputs()
1452 const unsigned size = glsl_get_length(tail->type); in get_nir_image_deref()
/external/mesa3d/src/amd/common/
Dac_nir_to_llvm.c3913 int length = glsl_get_length(variable->type); in handle_shader_output_decl()