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

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_pack.c935 unsigned size_ratio = (src_type.width * src_type.length) / local in function:lp_build_resize
937 unsigned new_length = src_type.length / size_ratio;
939 for (i = 0; i < size_ratio * num_srcs; i++) {
940 unsigned start_index = (i % size_ratio) * new_length;
941 tmp[i] = lp_build_extract_range(gallivm, src[i / size_ratio],
944 num_srcs *= size_ratio;
954 unsigned size_ratio = (dst_type.width * dst_type.length) / local in function:lp_build_resize
956 unsigned num_pack_srcs = num_srcs / size_ratio;
957 dst_type.length = dst_type.length / size_ratio;
959 for (i = 0; i < size_ratio;
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_pack.c935 unsigned size_ratio = (src_type.width * src_type.length) / local in function:lp_build_resize
937 unsigned new_length = src_type.length / size_ratio;
939 for (i = 0; i < size_ratio * num_srcs; i++) {
940 unsigned start_index = (i % size_ratio) * new_length;
941 tmp[i] = lp_build_extract_range(gallivm, src[i / size_ratio],
944 num_srcs *= size_ratio;
954 unsigned size_ratio = (dst_type.width * dst_type.length) / local in function:lp_build_resize
956 unsigned num_pack_srcs = num_srcs / size_ratio;
957 dst_type.length = dst_type.length / size_ratio;
959 for (i = 0; i < size_ratio;
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_fs_nir.cpp5584 unsigned size_ratio = type_sz(dst.type) / type_sz(src.type); local in function:shuffle_src_to_dst
5587 DIV_ROUND_UP(components, size_ratio),
5596 subscript(offset(dst, bld, i / size_ratio),
5597 shuffle_type, i % size_ratio);
5603 unsigned size_ratio = type_sz(src.type) / type_sz(dst.type); local in function:shuffle_src_to_dst
5606 offset(src, bld, first_component / size_ratio),
5608 DIV_ROUND_UP(components + (first_component % size_ratio),
5609 size_ratio)));
5616 subscript(offset(src, bld, (first_component + i) / size_ratio),
5617 shuffle_type, (first_component + i) % size_ratio);
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_fs_nir.cpp6398 unsigned size_ratio = type_sz(dst.type) / type_sz(src.type); local in function:shuffle_src_to_dst
6401 DIV_ROUND_UP(components, size_ratio),
6410 subscript(offset(dst, bld, i / size_ratio),
6411 shuffle_type, i % size_ratio);
6417 unsigned size_ratio = type_sz(src.type) / type_sz(dst.type); local in function:shuffle_src_to_dst
6420 offset(src, bld, first_component / size_ratio),
6422 DIV_ROUND_UP(components + (first_component % size_ratio),
6423 size_ratio)));
6430 subscript(offset(src, bld, (first_component + i) / size_ratio),
6431 shuffle_type, (first_component + i) % size_ratio);
[all...]

Completed in 21 milliseconds