/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta_resolve.c | 233 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 …]
|
D | radv_meta_fmask_copy.c | 225 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 …]
|
D | radv_meta_copy.c | 342 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, ®ion->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 …]
|
D | radv_meta_blit.c | 240 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 …]
|
D | radv_meta_resolve_fs.c | 789 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, ®ion->srcSubresource, ®ion->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, ®ion); in radv_depth_stencil_resolve_subpass_fs() [all …]
|
D | radv_meta.h | 200 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,
|
D | radv_meta_resolve_cs.c | 652 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, ®ion->srcSubresource, ®ion->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, ®ion); 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/ |
D | st_cb_copyimage.c | 553 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 …]
|
D | st_cb_copyimage.h | 30 struct gl_texture_image *src_image,
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_blorp.c | 302 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/ |
D | tu_clear_blit.c | 1507 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/ |
D | opencl_wrapper.cpp | 701 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/ |
D | cl_stubs.cpp | 870 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()
|
D | entry_points_cl_autogen.cpp | 889 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()
|
D | cl_stubs_autogen.h | 396 cl_mem src_image, 405 cl_mem src_image,
|
D | entry_points_cl_autogen.h | 221 cl_mem src_image, 230 cl_mem src_image,
|
/third_party/skia/third_party/externals/angle2/src/libOpenCL/ |
D | libOpenCL_autogen.cpp | 435 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/ |
D | lvp_execute.c | 2345 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, ©cmd->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/ |
D | validationCL.cpp | 1738 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()
|
D | validationCL_autogen.h | 212 cl_mem src_image, 221 cl_mem src_image,
|
/third_party/opencl-headers/CL/ |
D | cl_ext.h | 519 cl_mem src_image,
|
D | cl.h | 1645 cl_mem src_image, 1656 cl_mem src_image,
|
/third_party/mesa3d/include/CL/ |
D | cl.h | 1643 cl_mem src_image, 1654 cl_mem src_image,
|
/third_party/skia/third_party/externals/angle2/include/CL/ |
D | cl_icd.h | 558 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,
|
D | cl.h | 1645 cl_mem src_image, 1656 cl_mem src_image,
|