Searched refs:glsl_get_length (Results 1 – 21 of 21) sorted by relevance
206 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 …]
68 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()
52 func->num_params = glsl_get_length(func_type); in vtn_cfg_handle_prepass_instruction()
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()
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()
109 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()
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()
71 *array_elements *= glsl_get_length(tail->type); in calc_sampler_offsets()
128 for (unsigned i = 0; i < glsl_get_length(src_tail->type); i++) { in split_var_copy_instr()
88 var->data.compact ? DIV_ROUND_UP(glsl_get_length(type), 4) in mark_whole_variable()
109 int length = glsl_get_length(tail->type); in emit_load_store()
662 if (glsl_get_length(variable->deref.type) == in force_unroll_array_access()
717 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()
67 unsigned glsl_get_length(const struct glsl_type *type);
100 glsl_get_length(const struct glsl_type *type) in glsl_get_length() function
258 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()
826 glsl_type_is_array(var->type) ? glsl_get_length(var->type) : 1; in anv_pipeline_compile_fs()
1581 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()
1941 unsigned array_len = MAX2(glsl_get_length(var->type), 1); in ttn_add_output_stores()
59 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()
3913 int length = glsl_get_length(variable->type); in handle_shader_output_decl()