Lines Matching refs:dst

48 		     struct crocus_resource *dst,
51 const struct isl_format_layout *fmtl = isl_format_get_layout(dst->surf.format);
53 uint32_t pitch = dst->surf.row_pitch_B;
55 if (dst->surf.tiling != ISL_TILING_LINEAR)
72 isl_tiling_get_intratile_offset_el(dst->surf.tiling, dst->surf.dim,
73 dst->surf.msaa_layout,
74 cpp * 8, dst->surf.samples,
75 dst->surf.row_pitch_B,
76 dst->surf.array_pitch_el_rows,
84 xyblt.TilingEnable = dst->surf.tiling != ISL_TILING_LINEAR;
89 xyblt.DestinationBaseAddress = rw_bo(dst->bo, offset_B);
107 if (info->dst.box.width != info->src.box.width ||
108 info->dst.box.height != info->src.box.height)
114 if (info->dst.box.height < 0 || info->src.box.height < 0)
117 if (info->dst.box.depth > 1 || info->src.box.depth > 1)
128 util_format_has_alpha(info->dst.format) &&
145 struct crocus_resource *dst,
161 DBG("%s src:buf(%p)/%d+%d %d,%d dst:buf(%p)/%d+%d %d,%d sz:%dx%d\n",
164 dst, dst_pitch, dst_offset, dst_x, dst_y, w, h);
167 isl_get_tile_dims(dst->surf.tiling, cpp, &dst_tile_w, &dst_tile_h);
174 assert(dst->surf.tiling == ISL_TILING_LINEAR || (dst_pitch % dst_tile_w) == 0);
204 if (dst->surf.tiling != ISL_TILING_LINEAR)
213 xyblt.DestinationTilingEnable = dst->surf.tiling != ISL_TILING_LINEAR;
216 xyblt.DestinationBaseAddress = rw_bo(dst->bo, dst_offset);
235 struct crocus_resource *dst,
244 const struct isl_format_layout *dst_fmtl = isl_format_get_layout(dst->surf.format);
251 if (src->surf.tiling == ISL_TILING_Y0 || dst->surf.tiling == ISL_TILING_Y0)
254 if (src->surf.format != dst->surf.format)
278 crocus_resource_get_image_offset(dst, dst_level, dst_z, &dst_image_x,
280 if (util_format_is_compressed(dst->base.b.format)) {
281 int bw = util_format_get_blockwidth(dst->base.b.format);
282 int bh = util_format_get_blockheight(dst->base.b.format);
309 crocus_resource_blt_pitch(dst) >= 32768) {
343 isl_tiling_get_intratile_offset_el(dst->surf.tiling, dst->surf.dim,
344 dst->surf.msaa_layout,
345 dst_cpp * 8, dst->surf.samples,
346 dst->surf.row_pitch_B,
347 dst->surf.array_pitch_el_rows,
354 if (!emit_copy_blt(batch, src, dst,
357 dst->surf.row_pitch_B, dst_offset,
367 util_format_has_alpha(dst->base.b.format))
368 blt_set_alpha_to_one(batch, dst, 0, 0, src_width, src_height);
380 (struct crocus_resource *)info->dst.resource,
381 info->dst.level,
382 info->dst.box.x,
383 info->dst.box.y,
384 info->dst.box.z,
391 struct crocus_resource *dst,
398 if (dst->base.b.target == PIPE_BUFFER || src->base.b.target == PIPE_BUFFER)
402 dst,