Lines Matching refs:dst

119                     util_format_short_name(info->dst.format));
138 struct v3d_resource *dst = v3d_resource(info->dst.resource);
151 if (dst->separate_stencil) {
152 dst = dst->separate_stencil;
161 .level = info->dst.level,
162 .first_layer = info->dst.box.z,
163 .last_layer = info->dst.box.z,
168 ctx->create_surface(ctx, &dst->base, &dst_tmpl);
192 util_blitter_blit_generic(v3d->blitter, dst_surf, &info->dst.box,
220 struct v3d_resource *dst = v3d_resource(pdst);
222 struct v3d_resource_slice *dst_base_slice = &dst->slices[base_level];
245 switch (dst->cpp) {
268 dst->bo->handle,
269 src != dst ? src->bo->handle : 0
286 uint32_t dst_offset = (dst->bo->offset +
320 int uif_block_h = 2 * v3d_utile_height(dst->cpp);
334 dst->writes++;
368 int dst_width = u_minify(info->dst.resource->width0, info->dst.level);
369 int dst_height = u_minify(info->dst.resource->height0, info->dst.level);
375 info->dst.box.x != 0 ||
376 info->dst.box.y != 0 ||
377 info->dst.box.width != dst_width ||
378 info->dst.box.height != dst_height ||
379 info->dst.box.depth != 1 ||
382 info->src.box.width != info->dst.box.width ||
383 info->src.box.height != info->dst.box.height ||
388 if (info->dst.format != info->src.format)
391 if (v3d_tfu(pctx, info->dst.resource, info->src.resource,
393 info->dst.level, info->dst.level,
394 info->src.box.z, info->dst.box.z,
445 if (info->src.box.x != info->dst.box.x ||
446 info->src.box.y != info->dst.box.y ||
447 info->src.box.width != info->dst.box.width ||
448 info->src.box.height != info->dst.box.height)
452 util_format_is_depth_or_stencil(info->dst.format))
459 v3d_get_rt_format(&screen->devinfo, info->dst.format))
463 info->dst.resource->nr_samples > 1);
465 info->dst.resource->nr_samples < 2);
474 v3d_get_blit_surface(pctx, info->dst.resource, info->dst.format, info->dst.level, info->dst.box.z);
490 int dst_surface_width = u_minify(info->dst.resource->width0,
491 info->dst.level);
492 int dst_surface_height = u_minify(info->dst.resource->height0,
493 info->dst.level);
494 if (is_tile_unaligned(info->dst.box.x, tile_width) ||
495 is_tile_unaligned(info->dst.box.y, tile_height) ||
496 (is_tile_unaligned(info->dst.box.width, tile_width) &&
497 info->dst.box.x + info->dst.box.width != dst_surface_width) ||
498 (is_tile_unaligned(info->dst.box.height, tile_height) &&
499 info->dst.box.y + info->dst.box.height != dst_surface_height)) {
515 job->draw_min_x = info->dst.box.x;
516 job->draw_min_y = info->dst.box.y;
517 job->draw_max_x = info->dst.box.x + info->dst.box.width;
518 job->draw_max_y = info->dst.box.y + info->dst.box.height;
524 * This should be fine because we only get here if the src and dst boxes
535 job->num_layers = info->dst.box.depth;
754 ASSERTED struct v3d_resource *dst = v3d_resource(info->dst.resource);
766 assert(dst->base.format == src->base.format);
767 assert(dst->tiled);
769 assert(info->src.box.x == 0 && info->dst.box.x == 0);
770 assert(info->src.box.y == 0 && info->dst.box.y == 0);
771 assert(info->src.box.width == info->dst.box.width);
772 assert(info->src.box.height == info->dst.box.height);
777 util_blitter_default_dst_texture(&dst_tmpl, info->dst.resource,
778 info->dst.level, info->dst.box.z);
779 /* Although the src textures are cpp=1 or cpp=2, the dst texture
780 * uses a cpp=4 dst texture. So, all read/write texture ops will
785 pctx->create_surface(pctx, info->dst.resource, &dst_tmpl);
787 fprintf(stderr, "Failed to create YUV dst surface\n");
794 /* Adjust the dimensions of dst luma/chroma to match src
867 v3d_flush_jobs_writing_resource(v3d, info.dst.resource,