Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_pack.c935 unsigned size_ratio = (src_type.width * src_type.length) / in lp_build_resize() local
937 unsigned new_length = src_type.length / size_ratio; in lp_build_resize()
939 for (i = 0; i < size_ratio * num_srcs; i++) { in lp_build_resize()
940 unsigned start_index = (i % size_ratio) * new_length; in lp_build_resize()
941 tmp[i] = lp_build_extract_range(gallivm, src[i / size_ratio], in lp_build_resize()
944 num_srcs *= size_ratio; in lp_build_resize()
954 unsigned size_ratio = (dst_type.width * dst_type.length) / in lp_build_resize() local
956 unsigned num_pack_srcs = num_srcs / size_ratio; in lp_build_resize()
957 dst_type.length = dst_type.length / size_ratio; in lp_build_resize()
959 for (i = 0; i < size_ratio; in lp_build_resize()
[all...]
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_fs_nir.cpp6630 unsigned size_ratio = type_sz(dst.type) / type_sz(src.type);
6633 DIV_ROUND_UP(components, size_ratio),
6642 subscript(offset(dst, bld, i / size_ratio),
6643 shuffle_type, i % size_ratio);
6649 unsigned size_ratio = type_sz(src.type) / type_sz(dst.type);
6652 offset(src, bld, first_component / size_ratio),
6654 DIV_ROUND_UP(components + (first_component % size_ratio),
6655 size_ratio)));
6662 subscript(offset(src, bld, (first_component + i) / size_ratio),
6663 shuffle_type, (first_component + i) % size_ratio);
[all...]

Completed in 8 milliseconds