Lines Matching refs:src
51 struct pipe_resource *src, unsigned srclevel)
54 src->screen->get_param(src->screen, PIPE_CAP_SAMPLER_VIEW_TARGET);
58 if (cube_as_2darray && (src->target == PIPE_TEXTURE_CUBE ||
59 src->target == PIPE_TEXTURE_CUBE_ARRAY))
62 src_templ->target = src->target;
64 if (src->target == PIPE_BUFFER) {
70 src_templ->u.tex.last_layer = src->target == PIPE_TEXTURE_3D
71 ? u_minify(src->depth0, srclevel) - 1
72 : (unsigned)(src->array_size - 1);
123 struct pipe_resource *src = info->src.resource;
136 * we need to validate that we can use the src/dst resource with the
145 ctx->validate_format(ctx, fd_resource(src), info->src.format);
148 if (src == dst)
161 default_src_texture(&src_templ, src, info->src.level);
162 src_templ.format = info->src.format;
163 src_view = pipe->create_sampler_view(pipe, src, &src_templ);
167 ctx->blitter, dst_view, &info->dst.box, src_view, &info->src.box,
168 src->width0, src->height0, info->mask, info->filter,
305 util_format_short_name(info.src.resource->format),
319 unsigned dstz, struct pipe_resource *src,
324 if (dst->target == PIPE_BUFFER || src->target == PIPE_BUFFER)
327 if (!util_blitter_is_copy_supported(ctx->blitter, dst, src))
330 if (src == dst) {
338 src, src_level, src_box);
351 unsigned dstz, struct pipe_resource *src,
356 /* The blitter path handles compressed formats only if src and dst format
359 if ((src->format != dst->format) &&
360 (util_format_is_compressed(src->format) ||
363 PRSC_ARGS(src), PRSC_ARGS(dst));
382 info.src.resource = src;
383 info.src.level = src_level;
384 info.src.box = *src_box;
385 info.src.format = src->format;
386 info.mask = util_format_get_mask(src->format);
395 if (fd_blitter_pipe_copy_region(ctx, dst, dst_level, dstx, dsty, dstz, src,
401 util_resource_copy_region(pctx, dst, dst_level, dstx, dsty, dstz, src,