Lines Matching refs:dst
19 zink_fb_clears_apply_or_discard(ctx, info->dst.resource, rect, discard_only);
21 zink_fb_clears_apply_or_discard(ctx, info->dst.resource, zink_rect_from_box(&info->dst.box), discard_only);
27 if (util_format_get_mask(info->dst.format) != info->mask ||
29 util_format_is_depth_or_stencil(info->dst.format) ||
35 info->dst.box.width < 0 ||
37 info->dst.box.height < 0 ||
39 info->dst.box.depth < 0)
47 struct zink_resource *dst = zink_resource(info->dst.resource);
52 dst->format != zink_get_format(screen, info->dst.format))
54 if (src->format != dst->format)
64 zink_resource_setup_transfer_layouts(ctx, src, dst);
67 zink_get_cmdbuf(ctx, src, dst);
69 zink_batch_reference_resource_rw(batch, dst, true);
89 region.dstSubresource.aspectMask = dst->aspect;
90 region.dstSubresource.mipLevel = info->dst.level;
91 region.dstOffset.x = info->dst.box.x;
92 region.dstOffset.y = info->dst.box.y;
94 if (dst->base.b.array_size > 1) {
96 region.dstSubresource.baseArrayLayer = info->dst.box.z;
97 region.dstSubresource.layerCount = info->dst.box.depth;
99 assert(info->dst.box.depth == 1);
100 region.dstOffset.z = info->dst.box.z;
105 region.extent.width = info->dst.box.width;
106 region.extent.height = info->dst.box.height;
107 region.extent.depth = info->dst.box.depth;
109 dst->obj->image, dst->layout,
126 if (util_format_get_mask(info->dst.format) != info->mask ||
136 if (util_format_is_depth_or_stencil(info->dst.format) &&
137 info->dst.format != info->src.format)
141 if (info->src.resource->nr_samples > 1 || info->dst.resource->nr_samples > 1)
145 struct zink_resource *dst = zink_resource(info->dst.resource);
149 dst->format != zink_get_format(screen, info->dst.format))
153 !(get_resource_features(screen, dst) & VK_FORMAT_FEATURE_BLIT_DST_BIT))
157 util_format_is_pure_sint(info->dst.format)) ||
159 util_format_is_pure_uint(info->dst.format)))
174 zink_resource_setup_transfer_layouts(ctx, src, dst);
177 zink_get_cmdbuf(ctx, src, dst);
179 zink_batch_reference_resource_rw(batch, dst, true);
218 region.dstSubresource.aspectMask = dst->aspect;
219 region.dstSubresource.mipLevel = info->dst.level;
220 region.dstOffsets[0].x = info->dst.box.x;
221 region.dstOffsets[0].y = info->dst.box.y;
222 region.dstOffsets[1].x = info->dst.box.x + info->dst.box.width;
223 region.dstOffsets[1].y = info->dst.box.y + info->dst.box.height;
227 enum pipe_texture_target dst_target = dst->base.b.target;
228 if (dst->need_2D)
236 region.dstSubresource.baseArrayLayer = info->dst.box.z;
237 region.dstSubresource.layerCount = info->dst.box.depth;
245 region.dstOffsets[0].z = info->dst.box.z;
246 region.dstOffsets[1].z = info->dst.box.z + info->dst.box.depth;
258 dst->obj->image, dst->layout,
270 struct zink_resource *dst = zink_resource(info->dst.resource);
272 if (src->aspect != dst->aspect)
290 const struct util_format_description *dst_desc = util_format_description(info->dst.format);
297 struct zink_resource *dst = zink_resource(info->dst.resource);
299 if (zink_is_swapchain(dst)) {
300 if (!zink_kopper_acquire(ctx, dst, UINT64_MAX))
311 info->dst.resource->nr_samples <= 1) {
338 util_format_short_name(info->dst.resource->format));
355 pctx->invalidate_resource(pctx, info->dst.resource);
360 util_blitter_default_dst_texture(&dst_templ, info->dst.resource, info->dst.level, info->dst.box.z);
361 dst_view = pctx->create_surface(pctx, info->dst.resource, &dst_templ);
364 0, 0, info->dst.box.x, info->dst.box.y,
365 info->dst.box.width, info->dst.box.height);
368 info->dst.resource,
369 info->dst.level,
370 &info->dst.box,