Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_pack.c657 unsigned size_ratio = (src_type.width * src_type.length) / in lp_build_resize() local
659 unsigned new_length = src_type.length / size_ratio; in lp_build_resize()
661 for (i = 0; i < size_ratio * num_srcs; i++) { in lp_build_resize()
662 unsigned start_index = (i % size_ratio) * new_length; in lp_build_resize()
663 tmp[i] = lp_build_extract_range(gallivm, src[i / size_ratio], in lp_build_resize()
666 num_srcs *= size_ratio; in lp_build_resize()
676 unsigned size_ratio = (dst_type.width * dst_type.length) / in lp_build_resize() local
678 unsigned num_pack_srcs = num_srcs / size_ratio; in lp_build_resize()
679 dst_type.length = dst_type.length / size_ratio; in lp_build_resize()
681 for (i = 0; i < size_ratio; i++) { in lp_build_resize()
[all …]