Home | History | Annotate | Download | only in llvmpipe

Lines Matching defs:dst_type

869                       struct lp_type dst_type,
884 LLVMValueRef bx = lp_build_const_int32(gallivm, x * (dst_type.width / 8) * dst_type.length);
895 LLVMPointerType(lp_build_vec_type(gallivm, dst_type), 0), "");
1223 have_smallfloat_format(struct lp_type dst_type,
1226 return ((dst_type.floating && dst_type.width != 32) ||
1243 struct lp_type dst_type,
1268 assert(dst_type.floating);
1269 assert(dst_type.width == 32);
1270 assert(dst_type.length % 4 == 0);
1277 unsigned num_fetch = dst_type.length == 8 ? num_srcs / 2 : num_srcs / 4;
1291 if (dst_type.length == 8) {
1311 lp_build_unpack_rgba_soa(gallivm, src_fmt, dst_type, tmps, tmpsoa);
1313 lp_build_transpose_aos(gallivm, dst_type, tmpsoa, &src[i * 4]);
1326 if (!is_arith && src_type.length < dst_type.length) {
1328 dst[i] = lp_build_pad_vector(gallivm, src[i], dst_type.length);
1331 src_type.length = dst_type.length;
1337 lp_build_conv_auto(gallivm, src_type, &dst_type, dst, num_srcs, dst);
1411 struct lp_type dst_type,
1438 assert(dst_type.width == 32 || dst_type.width == 16);
1473 if (dst_type.width == 16) {
1474 struct lp_type type16x8 = dst_type;
1475 struct lp_type type32x4 = dst_type;
1482 ltype16x4 = lp_build_vec_type(gallivm, dst_type);
1502 int length = dst_type.length;
1505 dst_type.length = src_type.length;
1507 lp_build_conv_auto(gallivm, src_type, &dst_type, dst, num_srcs, dst);
1509 dst_type.length = length;
1529 dst_type.length = pixels;
1585 assert (dst_type.width != 24);
1587 dst[i] = LLVMBuildTrunc(builder, res, lp_build_vec_type(gallivm, dst_type), "");
1730 struct lp_type dst_type;
1757 lp_mem_type_from_format_desc(out_format_desc, &dst_type);
1769 if (have_smallfloat_format(dst_type, out_format)) {
1801 vector_width = dst_type.floating ? lp_native_vector_width : lp_integer_vector_width;
1955 fs_type.sign = dst_type.sign;
1977 if (!is_1d && dst_channels != 3 && dst_type.width == 8) {
2185 dst_type.length *= block_size / dst_count;
2194 dst_type.length = block_width;
2208 dst_alignment = dst_type.length * dst_type.width / 8;
2218 ls_type = dst_type;
2221 if ((dst_type.width == 8 || dst_type.width == 16) &&
2222 util_is_power_of_two(dst_type.length) &&
2223 dst_type.length * dst_type.width < 128) {
2237 ls_type.length = dst_type.length * dst_type.width / 32;
2267 if (ls_type.length != dst_type.length && ls_type.length == 1) {
2277 if (ls_type.length != dst_type.length) {
2278 struct lp_type tmp_type = dst_type;
2279 tmp_type.length = dst_type.length * 4 / src_count;
2299 convert_to_blend_type(gallivm, block_size, out_format_desc, dst_type,
2327 row_type, dst_type, dst, src_count);
2331 row_type.length = dst_type.length * (dst_count / src_count);
2355 dst, dst_type, dst_count / 4, dst_alignment);
2359 dst, dst_type, dst_count, dst_alignment);
2362 if (have_smallfloat_format(dst_type, out_format)) {