Home
last modified time | relevance | path

Searched refs:src_image (Results 1 – 25 of 33) sorted by relevance

12

/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_resolve.c233 emit_resolve(struct radv_cmd_buffer *cmd_buffer, const struct radv_image *src_image, in emit_resolve() argument
242 radv_src_access_flush(cmd_buffer, VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT, src_image) | in emit_resolve()
243 radv_dst_access_flush(cmd_buffer, VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT, src_image) | in emit_resolve()
275 image_hw_resolve_compat(const struct radv_device *device, struct radv_image *src_image, in image_hw_resolve_compat() argument
280 src_image->planes[0].surface.u.gfx9.swizzle_mode; in image_hw_resolve_compat()
283 src_image->planes[0].surface.micro_tile_mode; in image_hw_resolve_compat()
288 radv_pick_resolve_method_images(struct radv_device *device, struct radv_image *src_image, in radv_pick_resolve_method_images() argument
307 } else if (!image_hw_resolve_compat(device, src_image, dest_image)) { in radv_pick_resolve_method_images()
319 else if (src_image->info.array_size > 1 || dest_image->info.array_size > 1) in radv_pick_resolve_method_images()
322 if (src_image->info.array_size > 1 || dest_image->info.array_size > 1) in radv_pick_resolve_method_images()
[all …]
Dradv_meta_fmask_copy.c225 radv_fixup_copy_dst_metadata(struct radv_cmd_buffer *cmd_buffer, const struct radv_image *src_image, in radv_fixup_copy_dst_metadata() argument
230 assert(src_image->planes[0].surface.cmask_size == dst_image->planes[0].surface.cmask_size && in radv_fixup_copy_dst_metadata()
231 src_image->planes[0].surface.fmask_size == dst_image->planes[0].surface.fmask_size); in radv_fixup_copy_dst_metadata()
232 assert(src_image->planes[0].surface.fmask_offset + src_image->planes[0].surface.fmask_size == in radv_fixup_copy_dst_metadata()
233 src_image->planes[0].surface.cmask_offset && in radv_fixup_copy_dst_metadata()
238 size = src_image->planes[0].surface.cmask_size + src_image->planes[0].surface.fmask_size; in radv_fixup_copy_dst_metadata()
239 src_offset = src_image->bindings[0].offset + src_image->planes[0].surface.fmask_offset; in radv_fixup_copy_dst_metadata()
242 radv_copy_buffer(cmd_buffer, src_image->bindings[0].bo, dst_image->bindings[0].bo, in radv_fixup_copy_dst_metadata()
248 const struct radv_image *src_image, const struct radv_image *dst_image, in radv_can_use_fmask_copy() argument
256 if (src_image->info.array_size != 1 || dst_image->info.array_size != 1) in radv_can_use_fmask_copy()
[all …]
Dradv_meta_copy.c342 RADV_FROM_HANDLE(radv_image, src_image, pCopyImageToBufferInfo->srcImage); in radv_CmdCopyImageToBuffer2()
346 copy_image_to_buffer(cmd_buffer, dst_buffer, src_image, in radv_CmdCopyImageToBuffer2()
353 copy_image(struct radv_cmd_buffer *cmd_buffer, struct radv_image *src_image, in copy_image() argument
365 assert(src_image->info.samples == dst_image->info.samples); in copy_image()
410 src_image->plane_count > 1) { in copy_image()
417 aspect_count = src_image->plane_count; in copy_image()
427 src_image, src_image_layout, &region->srcSubresource, src_aspects[a]); in copy_image()
438 src_image, cmd_buffer->qf, cmd_buffer->qf); in copy_image()
439 bool src_compressed = radv_layout_dcc_compressed(cmd_buffer->device, src_image, in copy_image()
476 vk_image_offset_to_elements(&src_image->vk, region->srcOffset); in copy_image()
[all …]
Dradv_meta_blit.c240 meta_emit_blit(struct radv_cmd_buffer *cmd_buffer, struct radv_image *src_image, in meta_emit_blit() argument
254 assert(src_image->info.samples == dest_image->info.samples); in meta_emit_blit()
275 switch (src_image->vk.image_type) { in meta_emit_blit()
293 switch (src_image->vk.image_type) { in meta_emit_blit()
311 switch (src_image->vk.image_type) { in meta_emit_blit()
332 translate_sampler_dim(src_image->vk.image_type), in meta_emit_blit()
459 blit_image(struct radv_cmd_buffer *cmd_buffer, struct radv_image *src_image, in blit_image() argument
474 assert(src_image->info.samples == 1); in blit_image()
506 if (src_image->vk.image_type == VK_IMAGE_TYPE_3D) { in blit_image()
521 if (src_image->vk.image_type == VK_IMAGE_TYPE_3D) in blit_image()
[all …]
Dradv_meta_resolve_fs.c789 radv_meta_resolve_fragment_image(struct radv_cmd_buffer *cmd_buffer, struct radv_image *src_image, in radv_meta_resolve_fragment_image() argument
797 radv_decompress_resolve_src(cmd_buffer, src_image, src_image_layout, region); in radv_meta_resolve_fragment_image()
808 radv_meta_get_iview_layer(src_image, &region->srcSubresource, &region->srcOffset); in radv_meta_resolve_fragment_image()
813 const struct VkExtent3D extent = vk_image_sanitize_extent(&src_image->vk, region->extent); in radv_meta_resolve_fragment_image()
814 const struct VkOffset3D srcOffset = vk_image_sanitize_offset(&src_image->vk, region->srcOffset); in radv_meta_resolve_fragment_image()
823 .image = radv_image_to_handle(src_image), in radv_meta_resolve_fragment_image()
824 .viewType = radv_meta_get_view_type(src_image), in radv_meta_resolve_fragment_image()
825 .format = src_image->vk.format, in radv_meta_resolve_fragment_image()
962 struct radv_image *src_image = src_iview->image; in radv_depth_stencil_resolve_subpass_fs() local
971 radv_decompress_resolve_src(cmd_buffer, src_image, src_att.layout, &region); in radv_depth_stencil_resolve_subpass_fs()
[all …]
Dradv_meta.h200 const struct radv_image *src_image, const struct radv_image *dst_image,
206 struct radv_image *src_image, VkFormat src_format,
212 struct radv_image *src_image, VkImageLayout src_image_layout,
219 void radv_decompress_resolve_src(struct radv_cmd_buffer *cmd_buffer, struct radv_image *src_image,
Dradv_meta_resolve_cs.c652 radv_meta_resolve_compute_image(struct radv_cmd_buffer *cmd_buffer, struct radv_image *src_image, in radv_meta_resolve_compute_image() argument
659 radv_decompress_resolve_src(cmd_buffer, src_image, src_image_layout, region); in radv_meta_resolve_compute_image()
693 radv_meta_get_iview_layer(src_image, &region->srcSubresource, &region->srcOffset); in radv_meta_resolve_compute_image()
698 const struct VkExtent3D extent = vk_image_sanitize_extent(&src_image->vk, region->extent); in radv_meta_resolve_compute_image()
699 const struct VkOffset3D srcOffset = vk_image_sanitize_offset(&src_image->vk, region->srcOffset); in radv_meta_resolve_compute_image()
708 .image = radv_image_to_handle(src_image), in radv_meta_resolve_compute_image()
709 .viewType = radv_meta_get_view_type(src_image), in radv_meta_resolve_compute_image()
854 struct radv_image *src_image = src_iview->image; in radv_depth_stencil_resolve_subpass_cs() local
863 radv_decompress_resolve_src(cmd_buffer, src_image, src_att.layout, &region); in radv_depth_stencil_resolve_subpass_cs()
876 .image = radv_image_to_handle(src_image), in radv_depth_stencil_resolve_subpass_cs()
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_copyimage.c553 struct gl_texture_image *src_image, in fallback_copy_image() argument
564 bool src_is_compressed = src_image && _mesa_is_format_compressed(src_image->TexFormat); in fallback_copy_image()
569 if (src_image) in fallback_copy_image()
570 _mesa_get_format_block_size(src_image->TexFormat, &src_blk_w, &src_blk_h); in fallback_copy_image()
587 if (src_image) in fallback_copy_image()
588 line_bytes = _mesa_format_row_stride(src_image->TexFormat, src_w); in fallback_copy_image()
605 if (src_image) { in fallback_copy_image()
607 st->ctx, src_image, src_z, in fallback_copy_image()
630 if (src_image) { in fallback_copy_image()
631 st_UnmapTextureImage(st->ctx, src_image, src_z); in fallback_copy_image()
[all …]
Dst_cb_copyimage.h30 struct gl_texture_image *src_image,
/third_party/mesa3d/src/intel/vulkan/
Danv_blorp.c302 struct anv_image *src_image, in copy_image() argument
309 vk_image_sanitize_offset(&src_image->vk, region->srcOffset); in copy_image()
313 vk_image_sanitize_extent(&src_image->vk, region->extent); in copy_image()
328 if (src_image->vk.image_type == VK_IMAGE_TYPE_3D) { in copy_image()
333 vk_image_subresource_layer_count(&src_image->vk, in copy_image()
343 anv_foreach_image_aspect_bit(aspect_bit, src_image, src_mask) { in copy_image()
346 src_image, 1UL << aspect_bit, in copy_image()
384 get_blorp_surf_for_anv_image(cmd_buffer->device, src_image, src_mask, in copy_image()
424 ANV_FROM_HANDLE(anv_image, src_image, pCopyImageInfo->srcImage); in anv_CmdCopyImage2()
432 src_image, pCopyImageInfo->srcImageLayout, in anv_CmdCopyImage2()
[all …]
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_clear_blit.c1507 struct tu_image *src_image, in tu6_blit_image() argument
1558 src_image->vk.format == VK_FORMAT_BC1_RGB_UNORM_BLOCK || in tu6_blit_image()
1559 src_image->vk.format == VK_FORMAT_BC1_RGB_SRGB_BLOCK || in tu6_blit_image()
1570 tu6_plane_format(src_image->vk.format, in tu6_blit_image()
1571 tu6_plane_index(src_image->vk.format, in tu6_blit_image()
1575 tu6_plane_index(src_image->vk.format, in tu6_blit_image()
1608 tu_image_view_copy_blit(&src, src_image, src_format, in tu6_blit_image()
1612 tu_image_view_blit(&src, src_image, &info->srcSubresource, info->srcOffsets[0].z); in tu6_blit_image()
1630 src_image->vk.format, in tu6_blit_image()
1641 TU_FROM_HANDLE(tu_image, src_image, pBlitImageInfo->srcImage); in tu_CmdBlitImage2KHR()
[all …]
/third_party/opencl-headers/src/
Dopencl_wrapper.cpp701 cl_int clEnqueueCopyImage(cl_command_queue queue, cl_mem src_image, cl_mem dst_image, const size_t … in clEnqueueCopyImage() argument
708 …return func(queue, src_image, dst_image, src_origin, dst_origin, region, num_events_in_wait_list, … in clEnqueueCopyImage()
725 cl_int clEnqueueCopyImageToBuffer(cl_command_queue command_queue, cl_mem src_image, cl_mem dst_buff… in clEnqueueCopyImageToBuffer() argument
732 …return func(command_queue, src_image, dst_buffer, src_origin, region, dst_offset, num_events_in_wa… in clEnqueueCopyImageToBuffer()
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
Dcl_stubs.cpp870 cl_mem src_image, in EnqueueCopyImage() argument
880 src_image, dst_image, src_origin, dst_origin, region, num_events_in_wait_list, in EnqueueCopyImage()
885 cl_mem src_image, in EnqueueCopyImageToBuffer() argument
895 src_image, dst_buffer, src_origin, region, dst_offset, num_events_in_wait_list, in EnqueueCopyImageToBuffer()
Dentry_points_cl_autogen.cpp889 cl_mem src_image, in clEnqueueCopyImage() argument
904 (uintptr_t)command_queue, (uintptr_t)src_image, (uintptr_t)dst_image, in clEnqueueCopyImage()
908 ANGLE_CL_VALIDATE_ERROR(EnqueueCopyImage, command_queue, src_image, dst_image, src_origin, in clEnqueueCopyImage()
911 return EnqueueCopyImage(command_queue, src_image, dst_image, src_origin, dst_origin, region, in clEnqueueCopyImage()
916 cl_mem src_image, in clEnqueueCopyImageToBuffer() argument
931 (uintptr_t)command_queue, (uintptr_t)src_image, (uintptr_t)dst_buffer, in clEnqueueCopyImageToBuffer()
935 ANGLE_CL_VALIDATE_ERROR(EnqueueCopyImageToBuffer, command_queue, src_image, dst_buffer, in clEnqueueCopyImageToBuffer()
939 return EnqueueCopyImageToBuffer(command_queue, src_image, dst_buffer, src_origin, region, in clEnqueueCopyImageToBuffer()
Dcl_stubs_autogen.h396 cl_mem src_image,
405 cl_mem src_image,
Dentry_points_cl_autogen.h221 cl_mem src_image,
230 cl_mem src_image,
/third_party/skia/third_party/externals/angle2/src/libOpenCL/
DlibOpenCL_autogen.cpp435 cl_mem src_image, in clEnqueueCopyImage() argument
444 return cl::GetDispatch().clEnqueueCopyImage(command_queue, src_image, dst_image, src_origin, in clEnqueueCopyImage()
450 cl_mem src_image, in clEnqueueCopyImageToBuffer() argument
460 command_queue, src_image, dst_buffer, src_origin, region, dst_offset, in clEnqueueCopyImageToBuffer()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c2345 LVP_FROM_HANDLE(lvp_image, src_image, copycmd->srcImage); in handle_copy_image_to_buffer2()
2354 …box.z = src_image->vk.image_type == VK_IMAGE_TYPE_3D ? copycmd->pRegions[i].imageOffset.z : copycm… in handle_copy_image_to_buffer2()
2357 …box.depth = src_image->vk.image_type == VK_IMAGE_TYPE_3D ? copycmd->pRegions[i].imageExtent.depth … in handle_copy_image_to_buffer2()
2360 src_image->bo, in handle_copy_image_to_buffer2()
2379 enum pipe_format src_format = src_image->bo->format; in handle_copy_image_to_buffer2()
2390 vk_image_buffer_copy_layout(&src_image->vk, &copycmd->pRegions[i]); in handle_copy_image_to_buffer2()
2500 LVP_FROM_HANDLE(lvp_image, src_image, copycmd->srcImage); in handle_copy_image()
2509 if (src_image->bo->target == PIPE_TEXTURE_3D) { in handle_copy_image()
2525 src_image->bo, in handle_copy_image()
2551 LVP_FROM_HANDLE(lvp_image, src_image, blitcmd->srcImage); in handle_blit_image()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DvalidationCL.cpp1738 cl_mem src_image, in ValidateEnqueueCopyImage() argument
1751 ANGLE_CL_TRY(ValidateEnqueueImage(queue, src_image, false, false)); in ValidateEnqueueCopyImage()
1752 const Image &src = src_image->cast<Image>(); in ValidateEnqueueCopyImage()
1801 cl_mem src_image, in ValidateEnqueueCopyImageToBuffer() argument
1814 ANGLE_CL_TRY(ValidateEnqueueImage(queue, src_image, false, false)); in ValidateEnqueueCopyImageToBuffer()
1815 const Image &src = src_image->cast<Image>(); in ValidateEnqueueCopyImageToBuffer()
DvalidationCL_autogen.h212 cl_mem src_image,
221 cl_mem src_image,
/third_party/opencl-headers/CL/
Dcl_ext.h519 cl_mem src_image,
Dcl.h1645 cl_mem src_image,
1656 cl_mem src_image,
/third_party/mesa3d/include/CL/
Dcl.h1643 cl_mem src_image,
1654 cl_mem src_image,
/third_party/skia/third_party/externals/angle2/include/CL/
Dcl_icd.h558 cl_command_queue command_queue, cl_mem src_image, cl_mem dst_image,
564 cl_command_queue command_queue, cl_mem src_image, cl_mem dst_buffer,
Dcl.h1645 cl_mem src_image,
1656 cl_mem src_image,

12