/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta_copy.c | 391 u_foreach_bit(i, region->dstSubresource.aspectMask) { in copy_image() 396 .baseMipLevel = region->dstSubresource.mipLevel, in copy_image() 398 .baseArrayLayer = region->dstSubresource.baseArrayLayer, in copy_image() 399 .layerCount = region->dstSubresource.layerCount, in copy_image() 406 VkImageAspectFlags dst_aspects[3] = { region->dstSubresource.aspectMask }; in copy_image() 430 dst_image, dst_image_layout, ®ion->dstSubresource, dst_aspects[a]); in copy_image() 435 region->dstSubresource.mipLevel, in copy_image() 455 .baseMipLevel = region->dstSubresource.mipLevel, in copy_image() 457 .baseArrayLayer = region->dstSubresource.baseArrayLayer, in copy_image() 458 .layerCount = region->dstSubresource.layerCount, in copy_image() [all …]
|
D | radv_meta_resolve_cs.c | 668 radv_layout_dcc_compressed(cmd_buffer->device, dest_image, region->dstSubresource.mipLevel, in radv_meta_resolve_compute_image() 676 .aspectMask = region->dstSubresource.aspectMask, in radv_meta_resolve_compute_image() 677 .baseMipLevel = region->dstSubresource.mipLevel, in radv_meta_resolve_compute_image() 679 .baseArrayLayer = region->dstSubresource.baseArrayLayer, in radv_meta_resolve_compute_image() 680 .layerCount = region->dstSubresource.layerCount, in radv_meta_resolve_compute_image() 689 assert(region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT); in radv_meta_resolve_compute_image() 690 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount); in radv_meta_resolve_compute_image() 696 radv_meta_get_iview_layer(dest_image, ®ion->dstSubresource, ®ion->dstOffset); in radv_meta_resolve_compute_image() 732 .baseMipLevel = region->dstSubresource.mipLevel, in radv_meta_resolve_compute_image() 751 radv_layout_dcc_compressed(cmd_buffer->device, dest_image, region->dstSubresource.mipLevel, in radv_meta_resolve_compute_image() [all …]
|
D | radv_meta_resolve.c | 378 assert(region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT); in radv_meta_resolve_hardware_image() 379 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount); in radv_meta_resolve_hardware_image() 385 radv_meta_get_iview_layer(dst_image, ®ion->dstSubresource, ®ion->dstOffset); in radv_meta_resolve_hardware_image() 406 if (radv_layout_dcc_compressed(cmd_buffer->device, dst_image, region->dstSubresource.mipLevel, in radv_meta_resolve_hardware_image() 410 .baseMipLevel = region->dstSubresource.mipLevel, in radv_meta_resolve_hardware_image() 413 .layerCount = region->dstSubresource.layerCount, in radv_meta_resolve_hardware_image() 455 .baseMipLevel = region->dstSubresource.mipLevel, in radv_meta_resolve_hardware_image() 569 region->dstSubresource.mipLevel, dst_image_layout, false, in radv_CmdResolveImage2()
|
D | radv_meta_resolve_fs.c | 804 assert(region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT); in radv_meta_resolve_fragment_image() 805 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount); in radv_meta_resolve_fragment_image() 811 radv_meta_get_iview_layer(dest_image, ®ion->dstSubresource, ®ion->dstOffset); in radv_meta_resolve_fragment_image() 847 .baseMipLevel = region->dstSubresource.mipLevel, in radv_meta_resolve_fragment_image()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_blit.c | 89 region.dstSubresource.aspectMask = dst->aspect; in blit_resolve() 90 region.dstSubresource.mipLevel = info->dst.level; in blit_resolve() 96 region.dstSubresource.baseArrayLayer = info->dst.box.z; in blit_resolve() 97 region.dstSubresource.layerCount = info->dst.box.depth; in blit_resolve() 101 region.dstSubresource.baseArrayLayer = 0; in blit_resolve() 102 region.dstSubresource.layerCount = 1; in blit_resolve() 218 region.dstSubresource.aspectMask = dst->aspect; in blit_native() 219 region.dstSubresource.mipLevel = info->dst.level; in blit_native() 236 region.dstSubresource.baseArrayLayer = info->dst.box.z; in blit_native() 237 region.dstSubresource.layerCount = info->dst.box.depth; in blit_native() [all …]
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_cmd_copy.c | 85 .dstSubresource = pRegions[r].dstSubresource, in vk_common_CmdCopyImage() 213 .dstSubresource = pRegions[r].dstSubresource, in vk_common_CmdBlitImage() 258 .dstSubresource = pRegions[r].dstSubresource, in vk_common_CmdResolveImage()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_meta_blit.c | 162 .level = region->dstSubresource.mipLevel, in panvk_per_arch() 167 region->dstSubresource.baseArrayLayer, in panvk_per_arch() 173 region->dstSubresource.baseArrayLayer + region->dstSubresource.layerCount - 1, in panvk_per_arch() 184 if (region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) in panvk_per_arch() 186 else if (region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT) in panvk_per_arch()
|
D | panvk_vX_meta_copy.c | 585 region->dstSubresource.aspectMask), in panvk_meta_copy_img2img() 618 .first_level = region->dstSubresource.mipLevel, in panvk_meta_copy_img2img() 619 .last_level = region->dstSubresource.mipLevel, in panvk_meta_copy_img2img() 645 unsigned width = u_minify(dst->pimage.layout.width, region->dstSubresource.mipLevel); in panvk_meta_copy_img2img() 646 unsigned height = u_minify(dst->pimage.layout.height, region->dstSubresource.mipLevel); in panvk_meta_copy_img2img() 676 unsigned first_dst_layer = MAX2(region->dstSubresource.baseArrayLayer, region->dstOffset.z); in panvk_meta_copy_img2img() 677 unsigned nlayers = MAX2(region->dstSubresource.layerCount, region->extent.depth); in panvk_meta_copy_img2img()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkImage.cpp | 363 (region.dstSubresource.aspectMask == CombinedDepthStencilAspects)) in copyTo() 368 singleAspectRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; in copyTo() 371 singleAspectRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; in copyTo() 394 if(!((region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT) || in copySingleAspectTo() 395 (region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT) || in copySingleAspectTo() 396 (region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) || in copySingleAspectTo() 397 (region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_PLANE_0_BIT) || in copySingleAspectTo() 398 (region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_PLANE_1_BIT) || in copySingleAspectTo() 399 (region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_PLANE_2_BIT))) in copySingleAspectTo() 401 UNSUPPORTED("dstSubresource.aspectMask %X", region.dstSubresource.aspectMask); in copySingleAspectTo() [all …]
|
D | VkStructConversion.hpp | 76 pRegions[i].dstSubresource, 112 pRegions[i].dstSubresource, 216 pRegions[i].dstSubresource,
|
D | VkImageView.cpp | 240 region.dstSubresource = { in resolve() 270 region.dstSubresource = { in resolve()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | CommandBufferVk.cpp | 114 region.dstSubresource.aspectMask = dstTexture->GetVkAspectMask(); in ComputeImageCopyRegion() 115 region.dstSubresource.mipLevel = dstCopy.mipLevel; in ComputeImageCopyRegion() 116 region.dstSubresource.baseArrayLayer = dstCopy.arrayLayer; in ComputeImageCopyRegion() 117 region.dstSubresource.layerCount = 1; in ComputeImageCopyRegion() 448 VkImageSubresourceLayers dstSubresource = region.dstSubresource; in RecordCommands() local 455 dstSubresource.mipLevel)) { in RecordCommands() 458 dstSubresource.mipLevel, 1, dstSubresource.baseArrayLayer, 1); in RecordCommands() 461 ->EnsureSubresourceContentInitialized(commands, dstSubresource.mipLevel, in RecordCommands() 462 1, dstSubresource.baseArrayLayer, in RecordCommands()
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
D | Blitter.cpp | 1843 ASSERT(region.srcSubresource.layerCount == region.dstSubresource.layerCount); in blit() 1844 ASSERT(region.srcSubresource.aspectMask == region.dstSubresource.aspectMask); in blit() 1865 …VkImageAspectFlagBits dstAspect = static_cast<VkImageAspectFlagBits>(region.dstSubresource.aspectM… in blit() 1907 …assert_cast<uint32_t>(dst->rowPitchBytes(dstAspect, region.dstSubresource.mipLevel)), // dPitchB in blit() 1909 …assert_cast<uint32_t>(dst->slicePitchBytes(dstAspect, region.dstSubresource.mipLevel)), // dSliceB in blit() 1939 region.dstSubresource.aspectMask, in blit() 1940 region.dstSubresource.mipLevel, in blit() 1941 region.dstSubresource.baseArrayLayer in blit() 1945 region.dstSubresource.aspectMask, in blit() 1946 region.dstSubresource.mipLevel, in blit() [all …]
|
D | Blitter.hpp | 191 const VkImageSubresource &dstSubresource, Edge dstEdge,
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_helpers.cpp | 1918 const VkImageSubresourceLayers &dstSubresource, in Copy() argument 1931 region.dstSubresource = dstSubresource; in Copy() 1990 blit.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in generateMipmapsWithBlit() 1991 blit.dstSubresource.mipLevel = mipLevel; in generateMipmapsWithBlit() 1992 blit.dstSubresource.baseArrayLayer = 0; in generateMipmapsWithBlit() 1993 blit.dstSubresource.layerCount = mLayerCount; in generateMipmapsWithBlit() 2023 dest->changeLayout(region.dstSubresource.aspectMask, vk::ImageLayout::TransferDst, in resolve() 2394 copyToImage.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in stageSubresourceUpdateFromImage() 2395 copyToImage.dstSubresource.mipLevel = index.getLevelIndex(); in stageSubresourceUpdateFromImage() 2404 copyToImage.dstSubresource.baseArrayLayer = 0; in stageSubresourceUpdateFromImage() [all …]
|
D | FramebufferVk.cpp | 586 blit.dstSubresource.aspectMask = blitAspectMask; in blitWithCommand() 587 blit.dstSubresource.mipLevel = drawRenderTarget->getLevelIndex(); in blitWithCommand() 588 blit.dstSubresource.baseArrayLayer = drawRenderTarget->getLayerIndex(); in blitWithCommand() 589 blit.dstSubresource.layerCount = 1; in blitWithCommand() 919 resolveRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in resolveColorWithCommand() 920 resolveRegion.dstSubresource.layerCount = 1; in resolveColorWithCommand() 935 resolveRegion.dstSubresource.mipLevel = drawRenderTarget->getLevelIndex(); in resolveColorWithCommand() 936 resolveRegion.dstSubresource.baseArrayLayer = drawRenderTarget->getLayerIndex(); in resolveColorWithCommand() 1480 resolveRegion.dstSubresource.aspectMask = copyAspectFlags; in readPixelsImpl() 1481 resolveRegion.dstSubresource.mipLevel = 0; in readPixelsImpl() [all …]
|
D | vk_helpers.h | 890 const VkImageSubresourceLayers &dstSubresource() const in dstSubresource() function 894 : image.copyRegion.dstSubresource; in dstSubresource()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_meta_copy.c | 709 .dstSubresource = { in copy_image_to_buffer_blit() 786 if (region->dstSubresource.aspectMask != ds_aspects) in copy_image_tfu() 812 const uint32_t dst_mip_level = region->dstSubresource.mipLevel; in copy_image_tfu() 856 region->dstSubresource.layerCount : in copy_image_tfu() 863 region->dstSubresource.baseArrayLayer : region->dstOffset.z; in copy_image_tfu() 916 assert(region->dstSubresource.aspectMask == in copy_image_tlb() 920 (fb_format, region->dstSubresource.aspectMask, in copy_image_tlb() 932 region->dstSubresource.layerCount : region->extent.depth)); in copy_image_tlb() 935 num_layers = region->dstSubresource.layerCount; in copy_image_tlb() 1151 .dstSubresource = region->dstSubresource, in copy_image_blit() [all …]
|
D | v3dvx_meta_common.c | 619 layer_offset < region->dstSubresource.layerCount) || in emit_resolve_image_layer_per_tile_list() 623 region->dstSubresource.baseArrayLayer + layer_offset : in emit_resolve_image_layer_per_tile_list() 627 region->dstSubresource.aspectMask, in emit_resolve_image_layer_per_tile_list() 629 region->dstSubresource.mipLevel, in emit_resolve_image_layer_per_tile_list() 780 layer_offset < region->dstSubresource.layerCount) || in emit_copy_image_layer_per_tile_list() 784 region->dstSubresource.baseArrayLayer + layer_offset : in emit_copy_image_layer_per_tile_list() 788 region->dstSubresource.aspectMask, in emit_copy_image_layer_per_tile_list() 790 region->dstSubresource.mipLevel, in emit_copy_image_layer_per_tile_list()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_blorp.c | 315 const uint32_t dst_level = region->dstSubresource.mipLevel; in copy_image() 321 dst_base_layer = region->dstSubresource.baseArrayLayer; in copy_image() 323 ®ion->dstSubresource); in copy_image() 338 dst_mask = region->dstSubresource.aspectMask; in copy_image() 651 const VkImageSubresourceLayers *dst_res = ®ion->dstSubresource; in blit_image() 1439 assert(region->srcSubresource.aspectMask == region->dstSubresource.aspectMask); in resolve_image() 1441 vk_image_subresource_layer_count(&dst_image->vk, ®ion->dstSubresource)); in resolve_image() 1444 vk_image_subresource_layer_count(&dst_image->vk, ®ion->dstSubresource); in resolve_image() 1464 region->dstSubresource.mipLevel, in resolve_image() 1465 region->dstSubresource.baseArrayLayer, in resolve_image()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_clear_blit.c | 1543 if (info->dstSubresource.layerCount > 1) { in tu6_blit_image() 1545 layers = info->dstSubresource.layerCount; in tu6_blit_image() 1579 ops->setup(cmd, cs, src_format, dst_format, info->dstSubresource.aspectMask, in tu6_blit_image() 1604 tu_image_view_blit(&dst, dst_image, &info->dstSubresource, in tu6_blit_image() 1651 u_foreach_bit(b, region.dstSubresource.aspectMask) { in tu_CmdBlitImage2KHR() 1653 region.dstSubresource.aspectMask = BIT(b); in tu_CmdBlitImage2KHR() 1916 enum pipe_format dst_format = copy_format(dst_image->vk.format, info->dstSubresource.aspectMask); in tu_copy_image_to_image() 1964 tu_image_view_copy(&dst, dst_image, dst_format, &info->dstSubresource, dst_offset.z); in tu_copy_image_to_image() 2034 ops->setup(cmd, cs, dst_format, dst_format, info->dstSubresource.aspectMask, in tu_copy_image_to_image() 2045 tu_image_view_copy(&dst, dst_image, format, &info->dstSubresource, dst_offset.z); in tu_copy_image_to_image() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | CommandBufferVk.cpp | 77 region.dstSubresource.aspectMask = VulkanAspectMask(aspect); in ComputeImageCopyRegion() 78 region.dstSubresource.mipLevel = dstCopy.mipLevel; in ComputeImageCopyRegion() 105 region.dstSubresource.baseArrayLayer = dstCopy.origin.z; in ComputeImageCopyRegion() 106 region.dstSubresource.layerCount = copySize.depthOrArrayLayers; in ComputeImageCopyRegion() 111 region.dstSubresource.baseArrayLayer = 0; in ComputeImageCopyRegion() 112 region.dstSubresource.layerCount = 1; in ComputeImageCopyRegion()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_helpers.cpp | 5398 const VkImageSubresourceLayers &dstSubresource, in Copy() argument 5411 region.dstSubresource = dstSubresource; in Copy() 5463 region.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in CopyImageSubData() 5464 region.dstSubresource.mipLevel = dstImage->toVkLevel(dstLevelGL).get(); in CopyImageSubData() 5465 region.dstSubresource.baseArrayLayer = isDst3D ? 0 : dstZ; in CopyImageSubData() 5466 region.dstSubresource.layerCount = isDst3D ? 1 : srcDepth; in CopyImageSubData() 5480 access.onImageTransferWrite(dstLevelGL, 1, region.dstSubresource.baseArrayLayer, in CopyImageSubData() 5481 region.dstSubresource.layerCount, VK_IMAGE_ASPECT_COLOR_BIT, in CopyImageSubData() 5583 blit.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in generateMipmapsWithBlit() 5584 blit.dstSubresource.mipLevel = mipLevel.get(); in generateMipmapsWithBlit() [all …]
|
D | FramebufferVk.cpp | 885 blit.dstSubresource.aspectMask = blitAspectMask; in blitWithCommand() 886 blit.dstSubresource.mipLevel = dstImage->toVkLevel(drawRenderTarget->getLevelIndex()).get(); in blitWithCommand() 887 blit.dstSubresource.baseArrayLayer = drawRenderTarget->getLayerIndex(); in blitWithCommand() 888 blit.dstSubresource.layerCount = 1; in blitWithCommand() 1465 resolveRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in resolveColorWithCommand() 1466 resolveRegion.dstSubresource.layerCount = 1; in resolveColorWithCommand() 1481 resolveRegion.dstSubresource.mipLevel = levelVk.get(); in resolveColorWithCommand() 1482 resolveRegion.dstSubresource.baseArrayLayer = drawRenderTarget->getLayerIndex(); in resolveColorWithCommand()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
D | dzn_cmd_buffer.c | 1753 const VkImageSubresourceLayers *dst_subres = ®ion.dstSubresource; in dzn_cmd_buffer_copy_img_chunk() 2126 dst, info->dstImageLayout, ®ion->dstSubresource, in dzn_cmd_buffer_blit_region() 2133 dst, ®ion->dstSubresource, region->dstOffsets, in dzn_cmd_buffer_blit_region() 2146 uint32_t dst_level = region->dstSubresource.mipLevel; in dzn_cmd_buffer_blit_region() 2155 dst_is_3d ? region->dstOffsets[0].z : region->dstSubresource.baseArrayLayer; in dzn_cmd_buffer_blit_region() 2178 dst, info->dstImageLayout, ®ion->dstSubresource, in dzn_cmd_buffer_blit_region() 2199 dst, info->dstImageLayout, ®ion->dstSubresource, in dzn_cmd_buffer_resolve_region() 2228 dst, ®ion->dstSubresource, dst_offset, in dzn_cmd_buffer_resolve_region() 2236 dst, aspect, region->dstSubresource.mipLevel, in dzn_cmd_buffer_resolve_region() 2237 region->dstSubresource.baseArrayLayer + layer); in dzn_cmd_buffer_resolve_region() [all …]
|