Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_conv.c880 unsigned src_shift = lp_const_shift(src_type); in lp_build_conv() local
889 if (dst_offset > src_offset && src_type.width > dst_type.width && src_shift > 0) { in lp_build_conv()
893 shifted = lp_build_shr_imm(&bld, tmp[i], src_shift - 1); in lp_build_conv()
898 if(src_shift > dst_shift) { in lp_build_conv()
900 tmp[i] = lp_build_shr_imm(&bld, tmp[i], src_shift - dst_shift); in lp_build_conv()
986 unsigned src_shift = lp_const_shift(src_type); in lp_build_conv() local
993 if (src_shift < dst_shift) { in lp_build_conv()
996 if (dst_shift - src_shift < dst_type.width) { in lp_build_conv()
999 tmp[i] = lp_build_shl_imm(&bld, tmp[i], dst_shift - src_shift); in lp_build_conv()
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_pack.py378 src_shift = get_one_shift(src_channel)
380 value = '(%s >> %s)' % (value, src_shift - dst_shift)