Lines Matching defs:dst
52 static void si_copy_region_with_blit(struct pipe_context *pipe, struct pipe_resource *dst,
64 blit.dst.resource = dst;
65 blit.dst.format = dst->format;
66 blit.dst.level = dst_level;
67 blit.dst.box.x = dstx;
68 blit.dst.box.y = dsty;
69 blit.dst.box.z = dstz;
70 blit.dst.box.width = src_box->width;
71 blit.dst.box.height = src_box->height;
72 blit.dst.box.depth = src_box->depth;
73 blit.mask = util_format_get_mask(dst->format);
90 struct pipe_resource *dst = &stransfer->staging->b.b;
96 si_copy_region_with_blit(ctx, dst, 0, 0, 0, 0, 0, src, src_level, &transfer->box);
100 si_resource_copy_region(ctx, dst, 0, 0, 0, 0, src, src_level, &transfer->box);
107 struct pipe_resource *dst = transfer->resource;
113 if (dst->nr_samples > 1 || ((struct si_texture *)dst)->is_depth) {
114 unsigned dst_level = dst->nr_samples > 1 ? 0 : transfer->level;
115 unsigned dst_sample = dst->nr_samples > 1 ? transfer->level : 0;
117 si_copy_region_with_blit(ctx, dst, dst_level, dst_sample, transfer->box.x, transfer->box.y,
122 if (util_format_is_compressed(dst->format)) {
123 sbox.width = util_format_get_nblocksx(dst->format, sbox.width);
124 sbox.height = util_format_get_nblocksx(dst->format, sbox.height);
127 si_resource_copy_region(ctx, dst, transfer->level, transfer->box.x, transfer->box.y,