Lines Matching defs:src
70 const VkOffset2D *src,
77 if (!src)
81 A6XX_GRAS_2D_SRC_TL_X(src->x),
82 A6XX_GRAS_2D_SRC_BR_X(src->x + extent->width - 1),
83 A6XX_GRAS_2D_SRC_TL_Y(src->y),
84 A6XX_GRAS_2D_SRC_BR_Y(src->y + extent->height - 1));
543 tex->src[0].src_type = nir_tex_src_coord;
544 tex->src[0].src = nir_src_for_ssa(nir_load_var(b, in_coords));
598 tex->src[0].src_type = nir_tex_src_coord;
599 tex->src[0].src = nir_src_for_ssa(coord);
602 tex->src[1].src_type = nir_tex_src_ms_index;
603 tex->src[1].src = nir_src_for_ssa(nir_load_sample_id(b));
839 const VkOffset2D *src,
842 int32_t src_x1 = src ? src->x : 0;
843 int32_t src_y1 = src ? src->y : 0;
1267 const VkOffset2D *src,
1270 void (*src)(
1305 .src = r2d_src,
1319 .src = r3d_src,
1335 const VkOffset3D *src,
1338 ops->coords(cs, (const VkOffset2D*) dst, (const VkOffset2D*) src, (const VkExtent2D*) extent);
1603 struct fdl6_view dst, src;
1608 tu_image_view_copy_blit(&src, src_image, src_format,
1610 ops->src(cmd, cs, &src, 0, filter, dst_format);
1612 tu_image_view_blit(&src, src_image, &info->srcSubresource, info->srcOffsets[0].z);
1620 ops->src(cmd, cs, &src, i, filter, dst_format);
1811 struct fdl6_view src;
1812 tu_image_view_copy(&src, src_image, src_format, &info->imageSubresource, offset.z);
1815 ops->src(cmd, cs, &src, i, VK_FILTER_NEAREST, dst_format);
1961 struct fdl6_view dst, src;
1965 tu_image_view_copy(&src, src_image, src_format, &info->srcSubresource, src_offset.z);
2011 ops->src(cmd, cs, &src, i, VK_FILTER_NEAREST, src_format);
2040 ops->src(cmd, cs, &staging, i, VK_FILTER_NEAREST, dst_format);
2046 tu_image_view_copy(&src, src_image, format, &info->srcSubresource, src_offset.z);
2054 ops->src(cmd, cs, &src, i, VK_FILTER_NEAREST, format);
2227 struct fdl6_view dst, src;
2229 tu_image_view_blit(&src, src_image, &info->srcSubresource, info->srcOffset.z);
2232 ops->src(cmd, cs, &src, i, VK_FILTER_NEAREST, dst_format);
2252 const struct tu_image_view *src,
2275 r2d_src_depth(cmd, cs, src, i, VK_FILTER_NEAREST);
2277 r2d_src_stencil(cmd, cs, src, i, VK_FILTER_NEAREST);
2280 ops->src(cmd, cs, &src->view, i, VK_FILTER_NEAREST, dst_format);
2304 const struct tu_image_view *src,
2310 assert(src->image->vk.format == dst->image->vk.format ||
2311 (vk_format_is_depth_or_stencil(src->image->vk.format) &&
2314 bool src_separate_ds = src->image->vk.format == VK_FORMAT_D32_SFLOAT_S8_UINT;
2319 src, dst, layer_mask, layers, rect,
2322 src, dst, layer_mask, layers, rect,
2325 resolve_sysmem(cmd, cs, src->image->vk.format, dst->image->vk.format,
2326 src, dst, layer_mask, layers, rect,
3162 /* note: src size does not matter when not scaling */
3317 struct tu_render_pass_attachment *src = &cmd->state.pass->attachments[gmem_a];
3325 bool cond_exec = cond_exec_allowed && src->cond_store_allowed;
3337 src->format == VK_FORMAT_D32_SFLOAT_S8_UINT &&
3344 src->format == VK_FORMAT_D24_UNORM_S8_UINT &&
3356 tu_emit_blit(cmd, cs, iview, src, true, false);
3358 tu_emit_blit(cmd, cs, iview, src, true, true);
3370 enum pipe_format src_format = tu_vk_format_to_pipe_format(src->format);
3391 dst_format, render_area, tu_attachment_gmem_offset(cmd, src), src->cpp);
3396 tu_attachment_gmem_offset_stencil(cmd, src), src->samples);
3402 store_cp_blit(cmd, cs, iview, src->samples, false, src_format,
3403 dst_format, tu_attachment_gmem_offset(cmd, src), src->cpp);
3406 store_cp_blit(cmd, cs, iview, src->samples, true, PIPE_FORMAT_S8_UINT,
3407 PIPE_FORMAT_S8_UINT, tu_attachment_gmem_offset_stencil(cmd, src), src->samples);