Home
last modified time | relevance | path

Searched refs:dstSubresource (Results 1 – 25 of 48) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/zink/
Dzink_blit.c62 region.dstSubresource.aspectMask = dst->aspect; in blit_resolve()
63 region.dstSubresource.mipLevel = info->dst.level; in blit_resolve()
69 region.dstSubresource.baseArrayLayer = info->dst.box.z; in blit_resolve()
70 region.dstSubresource.layerCount = info->dst.box.depth; in blit_resolve()
74 region.dstSubresource.baseArrayLayer = 0; in blit_resolve()
75 region.dstSubresource.layerCount = 1; in blit_resolve()
143 region.dstSubresource.aspectMask = dst->aspect; in blit_native()
144 region.dstSubresource.mipLevel = info->dst.level; in blit_native()
153 region.dstSubresource.baseArrayLayer = info->dst.box.z; in blit_native()
154 region.dstSubresource.layerCount = info->dst.box.depth; in blit_native()
[all …]
Dzink_context.c1083 region.dstSubresource.aspectMask = dst->aspect; in zink_resource_copy_region()
1084 region.dstSubresource.mipLevel = dst_level; in zink_resource_copy_region()
1086 region.dstSubresource.baseArrayLayer = dstz; in zink_resource_copy_region()
1087 region.dstSubresource.layerCount = src_box->depth; in zink_resource_copy_region()
1090 region.dstSubresource.layerCount = 1; in zink_resource_copy_region()
/external/vulkan-validation-layers/tests/
Dvklayertests_command.cpp1232 copyRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F()
1233 copyRegion.dstSubresource.mipLevel = 0; in TEST_F()
1234 copyRegion.dstSubresource.baseArrayLayer = 0; in TEST_F()
1236 copyRegion.dstSubresource.layerCount = 3; in TEST_F()
2002 blitRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F()
2003 blitRegion.dstSubresource.baseArrayLayer = 0; in TEST_F()
2004 blitRegion.dstSubresource.layerCount = 1; in TEST_F()
2005 blitRegion.dstSubresource.mipLevel = 0; in TEST_F()
2074 copy_region.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F()
2076 copy_region.dstSubresource.mipLevel = 0; in TEST_F()
[all …]
Dvklayertests_buffer_image_memory_sampler.cpp1430 blit_region.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F()
1431 blit_region.dstSubresource.baseArrayLayer = 0; in TEST_F()
1432 blit_region.dstSubresource.layerCount = 1; in TEST_F()
1433 blit_region.dstSubresource.mipLevel = 0; in TEST_F()
1597 blitRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F()
1598 blitRegion.dstSubresource.baseArrayLayer = 0; in TEST_F()
1599 blitRegion.dstSubresource.layerCount = 1; in TEST_F()
1600 blitRegion.dstSubresource.mipLevel = 0; in TEST_F()
1655 blitRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; in TEST_F()
1717 blitRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F()
[all …]
Dvkrenderframework.cpp1305 copy_region.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in CopyImage()
1306 copy_region.dstSubresource.baseArrayLayer = 0; in CopyImage()
1307 copy_region.dstSubresource.mipLevel = 0; in CopyImage()
1308 copy_region.dstSubresource.layerCount = 1; in CopyImage()
1350 copy_region.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in CopyImageOut()
1351 copy_region.dstSubresource.baseArrayLayer = 0; in CopyImageOut()
1352 copy_region.dstSubresource.mipLevel = 0; in CopyImageOut()
1353 copy_region.dstSubresource.layerCount = 1; in CopyImageOut()
Dvkpositivelayertests.cpp526 cregion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT; in TEST_F()
527 cregion.dstSubresource.mipLevel = 0; in TEST_F()
528 cregion.dstSubresource.baseArrayLayer = 0; in TEST_F()
529 cregion.dstSubresource.layerCount = 1; in TEST_F()
1747 copy_region.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F()
1749 copy_region.dstSubresource.mipLevel = 0; in TEST_F()
1751 copy_region.dstSubresource.baseArrayLayer = 0; in TEST_F()
1753 copy_region.dstSubresource.layerCount = 1; in TEST_F()
7158 copyRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_PLANE_2_BIT_KHR; in TEST_F()
7159 copyRegion.dstSubresource.mipLevel = 0; in TEST_F()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_meta_copy.c490 if (region->dstSubresource.aspectMask != VK_IMAGE_ASPECT_COLOR_BIT) in copy_image()
491 dst_aspects[0] = region->dstSubresource.aspectMask; in copy_image()
504 &region->dstSubresource, in copy_image()
523 .baseMipLevel = region->dstSubresource.mipLevel, in copy_image()
525 .baseArrayLayer = region->dstSubresource.baseArrayLayer, in copy_image()
526 .layerCount = region->dstSubresource.layerCount, in copy_image()
573 unsigned num_slices_array = region->dstSubresource.layerCount; in copy_image()
625 .dstSubresource = pRegions[r].dstSubresource, in radv_CmdCopyImage()
Dradv_meta_resolve.c459 assert(region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT); in radv_meta_resolve_hardware_image()
461 region->dstSubresource.layerCount); in radv_meta_resolve_hardware_image()
468 radv_meta_get_iview_layer(dst_image, &region->dstSubresource, in radv_meta_resolve_hardware_image()
489 if (radv_dcc_enabled(dst_image, region->dstSubresource.mipLevel)) { in radv_meta_resolve_hardware_image()
492 .baseMipLevel = region->dstSubresource.mipLevel, in radv_meta_resolve_hardware_image()
495 .layerCount = region->dstSubresource.layerCount, in radv_meta_resolve_hardware_image()
535 .baseMipLevel = region->dstSubresource.mipLevel, in radv_meta_resolve_hardware_image()
552 region->dstSubresource.mipLevel), in radv_meta_resolve_hardware_image()
554 region->dstSubresource.mipLevel), in radv_meta_resolve_hardware_image()
684 .dstSubresource = regions[r].dstSubresource, in radv_CmdResolveImage()
Dradv_meta_resolve_cs.c827 assert(region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT); in radv_meta_resolve_compute_image()
828 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount); in radv_meta_resolve_compute_image()
835 radv_meta_get_iview_layer(dest_image, &region->dstSubresource, in radv_meta_resolve_compute_image()
873 .baseMipLevel = region->dstSubresource.mipLevel, in radv_meta_resolve_compute_image()
932 .dstSubresource = (VkImageSubresourceLayers) { in radv_cmd_buffer_resolve_subpass_cs()
Dradv_meta_resolve_fs.c1059 assert(region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT); in radv_meta_resolve_fragment_image()
1060 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount); in radv_meta_resolve_fragment_image()
1067 radv_meta_get_iview_layer(dest_image, &region->dstSubresource, in radv_meta_resolve_fragment_image()
1105 .baseMipLevel = region->dstSubresource.mipLevel, in radv_meta_resolve_fragment_image()
Dradv_meta_blit.c539 const VkImageSubresourceLayers *dst_res = &region->dstSubresource; in blit_image()
723 .dstSubresource = pRegions[r].dstSubresource, in radv_CmdBlitImage()
/external/swiftshader/src/Vulkan/
DVkImage.cpp363 if(!((region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT) || in copyTo()
364 (region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT) || in copyTo()
365 (region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) || in copyTo()
366 (region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_PLANE_0_BIT) || in copyTo()
367 (region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_PLANE_1_BIT) || in copyTo()
368 (region.dstSubresource.aspectMask == VK_IMAGE_ASPECT_PLANE_2_BIT))) in copyTo()
370 UNSUPPORTED("dstSubresource.aspectMask %X", region.dstSubresource.aspectMask); in copyTo()
374 …VkImageAspectFlagBits dstAspect = static_cast<VkImageAspectFlagBits>(region.dstSubresource.aspectM… in copyTo()
383 VkExtent3D dstExtent = dstImage->getMipLevelExtent(dstAspect, region.dstSubresource.mipLevel); in copyTo()
394 int dstRowPitch = dstImage->rowPitchBytes(dstAspect, region.dstSubresource.mipLevel); in copyTo()
[all …]
DVkImageView.cpp214 region.dstSubresource = { in resolve()
242 region.dstSubresource = { in resolve()
/external/swiftshader/src/Device/
DBlitter.cpp1759 ASSERT(region.srcSubresource.layerCount == region.dstSubresource.layerCount); in blit()
1760 ASSERT(region.srcSubresource.aspectMask == region.dstSubresource.aspectMask); in blit()
1781 …VkImageAspectFlagBits dstAspect = static_cast<VkImageAspectFlagBits>(region.dstSubresource.aspectM… in blit()
1823 dst->rowPitchBytes(dstAspect, region.dstSubresource.mipLevel), // dPitchB in blit()
1825 dst->slicePitchBytes(dstAspect, region.dstSubresource.mipLevel), // dSliceB in blit()
1855 region.dstSubresource.aspectMask, in blit()
1856 region.dstSubresource.mipLevel, in blit()
1857 region.dstSubresource.baseArrayLayer in blit()
1861 region.dstSubresource.aspectMask, in blit()
1862 region.dstSubresource.mipLevel, in blit()
[all …]
DBlitter.hpp191 const VkImageSubresource &dstSubresource, Edge dstEdge,
/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp1851 if (is_multiplane && (rgn0->srcSubresource.aspectMask != rgn1->dstSubresource.aspectMask)) { in RegionIntersects()
1855 if ((rgn0->srcSubresource.mipLevel == rgn1->dstSubresource.mipLevel) && in RegionIntersects()
1856 …rcSubresource.baseArrayLayer, rgn0->srcSubresource.layerCount, rgn1->dstSubresource.baseArrayLayer, in RegionIntersects()
1857 rgn1->dstSubresource.layerCount))) { in RegionIntersects()
2152 subresource_extent = GetImageSubresourceExtent(dst_img, &region->dstSubresource); in ValidateCopyImageTransferGranularityRequirements()
2177 depth_slices = region.dstSubresource.layerCount; // Slice count from 2D subresource in ValidateImageCopyData()
2321 … if ((0 != region.dstSubresource.baseArrayLayer) || (1 != region.dstSubresource.layerCount)) { in ValidateImageCopyData()
2326 … i, region.dstSubresource.baseArrayLayer, region.dstSubresource.layerCount); in ValidateImageCopyData()
2332 … if ((0 != region.dstSubresource.baseArrayLayer) || (1 != region.dstSubresource.layerCount)) { in ValidateImageCopyData()
2338 … i, region.dstSubresource.baseArrayLayer, region.dstSubresource.layerCount); in ValidateImageCopyData()
[all …]
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c1045 .dstSubresource = { in copy_image_to_buffer_blit()
1218 layer_offset < region->dstSubresource.layerCount) || in emit_copy_image_layer_per_tile_list()
1222 region->dstSubresource.baseArrayLayer + layer_offset : in emit_copy_image_layer_per_tile_list()
1226 region->dstSubresource.aspectMask, in emit_copy_image_layer_per_tile_list()
1228 region->dstSubresource.mipLevel, in emit_copy_image_layer_per_tile_list()
1291 assert(region->dstSubresource.aspectMask == in copy_image_tlb()
1295 region->dstSubresource.aspectMask, in copy_image_tlb()
1307 region->dstSubresource.layerCount : region->extent.depth)); in copy_image_tlb()
1310 num_layers = region->dstSubresource.layerCount; in copy_image_tlb()
1530 .dstSubresource = region->dstSubresource, in copy_image_blit()
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_blorp.c310 const uint32_t dst_level = region->dstSubresource.mipLevel; in copy_image()
316 dst_base_layer = region->dstSubresource.baseArrayLayer; in copy_image()
318 anv_get_layerCount(dst_image, &region->dstSubresource); in copy_image()
332 dst_mask = region->dstSubresource.aspectMask; in copy_image()
436 .dstSubresource = pRegions[r].dstSubresource, in anv_CmdCopyImage()
764 const VkImageSubresourceLayers *dst_res = &region->dstSubresource; in blit_image()
895 .dstSubresource = pRegions[r].dstSubresource, in anv_CmdBlitImage()
1623 assert(region->srcSubresource.aspectMask == region->dstSubresource.aspectMask); in resolve_image()
1625 anv_get_layerCount(dst_image, &region->dstSubresource)); in resolve_image()
1628 anv_get_layerCount(dst_image, &region->dstSubresource); in resolve_image()
[all …]
Danv_dump.c162 .dstSubresource = { in dump_image_do_blit()
/external/mesa3d/src/freedreno/vulkan/
Dtu_clear_blit.c1029 if (info->dstSubresource.layerCount > 1) { in tu6_blit_image()
1031 layers = info->dstSubresource.layerCount; in tu6_blit_image()
1053 if (info->dstSubresource.aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT) in tu6_blit_image()
1055 else if (info->dstSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) in tu6_blit_image()
1061 ops->setup(cmd, cs, format, info->dstSubresource.aspectMask, in tu6_blit_image()
1085 tu_image_view_blit(&dst, dst_image, &info->dstSubresource, info->dstOffsets[0].z); in tu6_blit_image()
1120 for_each_bit(b, pRegions[i].dstSubresource.aspectMask) { in tu_CmdBlitImage()
1122 region.dstSubresource.aspectMask = BIT(b); in tu_CmdBlitImage()
1373 VkFormat dst_format = copy_format(dst_image->vk_format, info->dstSubresource.aspectMask, false); in tu_copy_image_to_image()
1415 tu_image_view_copy(&dst, dst_image, dst_format, &info->dstSubresource, dst_offset.z, false); in tu_copy_image_to_image()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp5099 const VkImageSubresourceLayers &dstSubresource, in Copy() argument
5112 region.dstSubresource = dstSubresource; in Copy()
5166 region.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in CopyImageSubData()
5167 region.dstSubresource.mipLevel = dstImage->toVkLevel(dstLevelGL).get(); in CopyImageSubData()
5168 region.dstSubresource.baseArrayLayer = isDst3D ? 0 : dstZ; in CopyImageSubData()
5169 region.dstSubresource.layerCount = isDst3D ? 1 : srcDepth; in CopyImageSubData()
5183 access.onImageTransferWrite(dstLevelGL, 1, region.dstSubresource.baseArrayLayer, in CopyImageSubData()
5184 region.dstSubresource.layerCount, VK_IMAGE_ASPECT_COLOR_BIT, in CopyImageSubData()
5285 blit.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in generateMipmapsWithBlit()
5286 blit.dstSubresource.mipLevel = mipLevel.get(); in generateMipmapsWithBlit()
[all …]
DFramebufferVk.cpp884 blit.dstSubresource.aspectMask = blitAspectMask; in blitWithCommand()
885 blit.dstSubresource.mipLevel = dstImage->toVkLevel(drawRenderTarget->getLevelIndex()).get(); in blitWithCommand()
886 blit.dstSubresource.baseArrayLayer = drawRenderTarget->getLayerIndex(); in blitWithCommand()
887 blit.dstSubresource.layerCount = 1; in blitWithCommand()
1457 resolveRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in resolveColorWithCommand()
1458 resolveRegion.dstSubresource.layerCount = 1; in resolveColorWithCommand()
1473 resolveRegion.dstSubresource.mipLevel = levelVk.get(); in resolveColorWithCommand()
1474 resolveRegion.dstSubresource.baseArrayLayer = drawRenderTarget->getLayerIndex(); in resolveColorWithCommand()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c1694 copycmd->regions[i].dstSubresource.mipLevel, in handle_copy_image()
1697 … copycmd->regions[i].dstOffset.z + copycmd->regions[i].dstSubresource.baseArrayLayer, in handle_copy_image()
1791 info.dst.box.z = blitcmd->regions[i].dstSubresource.baseArrayLayer; in handle_blit_image()
1793 info.dst.box.depth = blitcmd->regions[i].dstSubresource.layerCount; in handle_blit_image()
1797 info.dst.level = blitcmd->regions[i].dstSubresource.mipLevel; in handle_blit_image()
2273 info.dst.box.depth = resolvecmd->regions[i].dstSubresource.layerCount; in handle_resolve_image()
2279 info.dst.level = resolvecmd->regions[i].dstSubresource.mipLevel; in handle_resolve_image()
2280 …info.dst.box.z = resolvecmd->regions[i].dstOffset.z + resolvecmd->regions[i].dstSubresource.baseAr… in handle_resolve_image()
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp490 resolveInfo.dstSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1}; in resolveImage()
1260 blitRegion.dstSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, mipLevel, 0, 1 }; in onRegenerateMipMapLevels()
1857 copyRegion.dstSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsCopyImage()
1934 blitRegion.dstSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsBlit()
/external/skia/src/gpu/vk/
DGrVkGpu.cpp685 resolveInfo.dstSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1}; in resolveImage()
1441 blitRegion.dstSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, mipLevel, 0, 1 }; in onRegenerateMipMapLevels()
2156 copyRegion.dstSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsCopyImage()
2222 blitRegion.dstSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsBlit()

12