/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta_copy.c | 132 image, layout, ®ion->imageSubresource, region->imageSubresource.aspectMask); in copy_buffer_to_image() 138 radv_layout_dcc_compressed(cmd_buffer->device, image, region->imageSubresource.mipLevel, in copy_buffer_to_image() 143 .aspectMask = region->imageSubresource.aspectMask, in copy_buffer_to_image() 144 .baseMipLevel = region->imageSubresource.mipLevel, in copy_buffer_to_image() 146 .baseArrayLayer = region->imageSubresource.baseArrayLayer, in copy_buffer_to_image() 147 .layerCount = region->imageSubresource.layerCount, in copy_buffer_to_image() 167 unsigned num_slices_array = region->imageSubresource.layerCount; in copy_buffer_to_image() 221 &pCopyBufferToImageInfo->pRegions[r].imageSubresource, in radv_CmdCopyBufferToImage2() 281 image, layout, ®ion->imageSubresource, region->imageSubresource.aspectMask); in copy_image_to_buffer() 287 radv_layout_dcc_compressed(cmd_buffer->device, image, region->imageSubresource.mipLevel, in copy_image_to_buffer() [all …]
|
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/commonvalidity/ |
D | copy_buffer_to_image_common.txt | 51 * [[VUID-{refpage}-imageSubresource-01701]] 52 The pname:imageSubresource.mipLevel member of each element of 55 * [[VUID-{refpage}-imageSubresource-01702]] 56 The [eq]#pname:imageSubresource.baseArrayLayer {plus} 57 pname:imageSubresource.layerCount# of each element of pname:pRegions 72 For each element of pname:pRegions whose pname:imageSubresource contains 80 pname:aspectMask member of pname:imageSubresource must: not be
|
D | copy_buffer_to_image_common.adoc | 51 * [[VUID-{refpage}-imageSubresource-01701]] 52 The pname:imageSubresource.mipLevel member of each element of 55 * [[VUID-{refpage}-imageSubresource-01702]] 56 The [eq]#pname:imageSubresource.baseArrayLayer {plus} 57 pname:imageSubresource.layerCount# of each element of pname:pRegions 67 For each element of pname:pRegions whose pname:imageSubresource contains
|
D | copy_bufferimage_to_imagebuffer_common.txt | 28 the pname:aspectMask of the pname:imageSubresource as defined in 39 specified pname:imageSubresource of {imageparam} 66 pname:imageSubresource of {imageparam} 72 pname:imageSubresource of {imageparam} 78 pname:imageSubresource of {imageparam} 80 For each element of pname:pRegions, pname:imageSubresource.aspectMask 86 for each element of pname:pRegions, pname:imageSubresource.aspectMask 94 pname:pRegions, pname:imageSubresource.baseArrayLayer must: be `0` and 95 pname:imageSubresource.layerCount must: be `1`
|
D | copy_image_to_buffer_common.adoc | 51 * [[VUID-{refpage}-imageSubresource-01703]] 52 The pname:imageSubresource.mipLevel member of each element of 55 * [[VUID-{refpage}-imageSubresource-01704]] 56 The [eq]#pname:imageSubresource.baseArrayLayer {plus} 57 pname:imageSubresource.layerCount# of each element of pname:pRegions
|
D | copy_image_to_buffer_common.txt | 51 * [[VUID-{refpage}-imageSubresource-01703]] 52 The pname:imageSubresource.mipLevel member of each element of 55 * [[VUID-{refpage}-imageSubresource-01704]] 56 The [eq]#pname:imageSubresource.baseArrayLayer {plus} 57 pname:imageSubresource.layerCount# of each element of pname:pRegions
|
D | copy_bufferimage_to_imagebuffer_common.adoc | 28 the pname:aspectMask of the pname:imageSubresource as defined in 39 specified pname:imageSubresource of {imageparam} 88 For each element of pname:pRegions, pname:imageSubresource.aspectMask 94 element of pname:pRegions, pname:imageSubresource.aspectMask must: be 99 each element of pname:pRegions, pname:imageSubresource.aspectMask must: 105 pname:pRegions, pname:imageSubresource.baseArrayLayer must: be `0` and 106 pname:imageSubresource.layerCount must: be `1`
|
D | buffer_image_copy_common.txt | 14 The pname:aspectMask member of pname:imageSubresource must: only have a
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | UtilsVulkan.cpp | 130 region.imageSubresource.aspectMask = VulkanAspectMask(textureCopy.aspect); in ComputeBufferImageCopyRegion() 131 region.imageSubresource.mipLevel = textureCopy.mipLevel; in ComputeBufferImageCopyRegion() 139 region.imageSubresource.baseArrayLayer = textureCopy.origin.z; in ComputeBufferImageCopyRegion() 140 region.imageSubresource.layerCount = copySize.depthOrArrayLayers; in ComputeBufferImageCopyRegion() 154 region.imageSubresource.baseArrayLayer = 0; in ComputeBufferImageCopyRegion() 155 region.imageSubresource.layerCount = 1; in ComputeBufferImageCopyRegion()
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/ |
D | Util.cpp | 125 region.imageSubresource.aspectMask = vk::ImageAspectFlagBits::eColor; in copyBufferToImage() 126 region.imageSubresource.mipLevel = 0; in copyBufferToImage() 127 region.imageSubresource.baseArrayLayer = 0; in copyBufferToImage() 128 region.imageSubresource.layerCount = 1; in copyBufferToImage()
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_cmd_copy.c | 127 .imageSubresource = pRegions[r].imageSubresource, in vk_common_CmdCopyBufferToImage() 168 .imageSubresource = pRegions[r].imageSubresource, in vk_common_CmdCopyImageToBuffer()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_helpers.cpp | 2180 copy.imageSubresource.mipLevel = index.getLevelIndex(); in stageSubresourceUpdate() 2181 copy.imageSubresource.layerCount = index.getLayerCount(); in stageSubresourceUpdate() 2188 copy.imageSubresource.baseArrayLayer = offset.z; in stageSubresourceUpdate() 2194 copy.imageSubresource.baseArrayLayer = index.hasLayer() ? index.getLayerIndex() : 0; in stageSubresourceUpdate() 2220 stencilCopy.imageSubresource.mipLevel = copy.imageSubresource.mipLevel; in stageSubresourceUpdate() 2221 stencilCopy.imageSubresource.baseArrayLayer = copy.imageSubresource.baseArrayLayer; in stageSubresourceUpdate() 2222 stencilCopy.imageSubresource.layerCount = copy.imageSubresource.layerCount; in stageSubresourceUpdate() 2225 stencilCopy.imageSubresource.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; in stageSubresourceUpdate() 2249 copy.imageSubresource.aspectMask = aspectFlags; in stageSubresourceUpdate() 2272 copy.imageSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in stageSubresourceUpdateAndGetData() [all …]
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_meta_copy.c | 1050 region->imageSubresource.aspectMask), in panvk_meta_copy_buf2img() 1074 .first_level = region->imageSubresource.mipLevel, in panvk_meta_copy_buf2img() 1075 .last_level = region->imageSubresource.mipLevel, in panvk_meta_copy_buf2img() 1082 .width = u_minify(img->pimage.layout.width, region->imageSubresource.mipLevel), in panvk_meta_copy_buf2img() 1083 .height = u_minify(img->pimage.layout.height, region->imageSubresource.mipLevel), in panvk_meta_copy_buf2img() 1097 assert(region->imageSubresource.layerCount == 1 || in panvk_meta_copy_buf2img() 1100 unsigned first_layer = MAX2(region->imageSubresource.baseArrayLayer, region->imageOffset.z); in panvk_meta_copy_buf2img() 1101 unsigned nlayers = MAX2(region->imageSubresource.layerCount, region->imageExtent.depth); in panvk_meta_copy_buf2img() 1471 region->imageSubresource.aspectMask), in panvk_meta_copy_img2buf() 1491 info.img.extent.maxy = region->imageSubresource.layerCount - 1; in panvk_meta_copy_img2buf() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageMisalignedCubeTests.cpp | 104 const vk::VkImageSubresourceLayers& imageSubresource, in makeBufferImageCopy() argument 113 imageSubresource, // VkImageSubresourceLayers imageSubresource; in makeBufferImageCopy() 232 …const VkImageSubresourceLayers imageSubresource = makeImageSubresourceLayers(VK_IMAGE_ASPECT_COLO… in iterate() local 233 …ageCopy bufferImageCopyRegion = makeBufferImageCopy(bufferOffset, imageSubresource, makeOffset3D… in iterate()
|
D | vktImageSubresourceLayoutTests.cpp | 472 region.imageSubresource.aspectMask = imageAspect; in iterateAspect() 473 region.imageSubresource.baseArrayLayer = 0u; in iterateAspect() 474 region.imageSubresource.layerCount = numLayers; in iterateAspect() 475 region.imageSubresource.mipLevel = levelNdx; in iterateAspect() 519 const auto imageSubresource = makeImageSubresource(imageAspect, levelNdx, layerNdx); in iterateAspect() local 520 vkd.getImageSubresourceLayout(device, image.get(), &imageSubresource, &subresourceLayout); in iterateAspect()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
D | vktImageMisalignedCubeTests.cpp | 104 const vk::VkImageSubresourceLayers& imageSubresource, in makeBufferImageCopy() argument 113 imageSubresource, // VkImageSubresourceLayers imageSubresource; in makeBufferImageCopy() 232 …const VkImageSubresourceLayers imageSubresource = makeImageSubresourceLayers(VK_IMAGE_ASPECT_COLO… in iterate() local 233 …ageCopy bufferImageCopyRegion = makeBufferImageCopy(bufferOffset, imageSubresource, makeOffset3D… in iterate()
|
D | vktImageSubresourceLayoutTests.cpp | 472 region.imageSubresource.aspectMask = imageAspect; in iterateAspect() 473 region.imageSubresource.baseArrayLayer = 0u; in iterateAspect() 474 region.imageSubresource.layerCount = numLayers; in iterateAspect() 475 region.imageSubresource.mipLevel = levelNdx; in iterateAspect() 519 const auto imageSubresource = makeImageSubresource(imageAspect, levelNdx, layerNdx); in iterateAspect() local 520 vkd.getImageSubresourceLayout(device, image.get(), &imageSubresource, &subresourceLayout); in iterateAspect()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkImage.cpp | 550 switch(region.imageSubresource.aspectMask) in copy() 560 UNSUPPORTED("aspectMask %x", int(region.imageSubresource.aspectMask)); in copy() 564 auto aspect = static_cast<VkImageAspectFlagBits>(region.imageSubresource.aspectMask); in copy() 581 …ic_cast<uint8_t *>(getTexelPointer(region.imageOffset, ImageSubresource(region.imageSubresource))); in copy() 584 int imageRowPitchBytes = rowPitchBytes(aspect, region.imageSubresource.mipLevel); in copy() 585 int imageSlicePitchBytes = slicePitchBytes(aspect, region.imageSubresource.mipLevel); in copy() 592 VkExtent3D mipLevelExtent = getMipLevelExtent(aspect, region.imageSubresource.mipLevel); in copy() 626 for(uint32_t i = 0; i < region.imageSubresource.layerCount; i++) in copy() 674 contentsChanged(ImageSubresourceRange(region.imageSubresource)); in copy() 733 …VkImageAspectFlagBits aspect = static_cast<VkImageAspectFlagBits>(region.imageSubresource.aspectMa… in bufferExtentInBlocks()
|
D | VkStructConversion.hpp | 146 pRegions[i].imageSubresource, 181 pRegions[i].imageSubresource,
|
/third_party/vk-gl-cts/external/vulkan-docs/src/proposals/ |
D | VK_EXT_image_compression_control.adoc | 206 VkImageSubresource2EXT imageSubresource = {}; 207 imageSubsource.imageSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; 208 imageSubsource.imageSubresource.mipLevel = 0; 209 imageSubsource.imageSubresource.arrayLayer = 0; 213 vkGetImageSubresourceLayout2EXT(device, image, &imageSubresource, &subresourceLayout);
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_meta_copy.c | 389 (fb_format, region->imageSubresource.aspectMask, in copy_image_to_buffer_tlb() 394 num_layers = region->imageSubresource.layerCount; in copy_image_to_buffer_tlb() 465 VkImageAspectFlags copy_aspect = region->imageSubresource.aspectMask; in copy_image_to_buffer_blit() 591 num_layers = region->imageSubresource.layerCount; in copy_image_to_buffer_blit() 691 .mipLevel = region->imageSubresource.mipLevel, in copy_image_to_buffer_blit() 692 .baseArrayLayer = region->imageSubresource.baseArrayLayer + i, in copy_image_to_buffer_blit() 1363 const uint32_t mip_level = region->imageSubresource.mipLevel; in copy_buffer_to_image_tfu() 1368 num_layers = region->imageSubresource.layerCount; in copy_buffer_to_image_tfu() 1384 layer = region->imageSubresource.baseArrayLayer + i; in copy_buffer_to_image_tfu() 1430 (fb_format, region->imageSubresource.aspectMask, in copy_buffer_to_image_tlb() [all …]
|
D | v3dvx_meta_common.c | 493 layer_offset < region->imageSubresource.layerCount) || in emit_copy_layer_to_buffer_per_tile_list() 497 region->imageSubresource.baseArrayLayer + layer_offset : in emit_copy_layer_to_buffer_per_tile_list() 501 region->imageSubresource.aspectMask, in emit_copy_layer_to_buffer_per_tile_list() 503 region->imageSubresource.mipLevel, in emit_copy_layer_to_buffer_per_tile_list() 531 region->imageSubresource.aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT ? in emit_copy_layer_to_buffer_per_tile_list() 538 region->imageSubresource.aspectMask, in emit_copy_layer_to_buffer_per_tile_list() 1062 const VkImageSubresourceLayers *imgrsc = ®ion->imageSubresource; in emit_copy_buffer_to_layer_per_tile_list()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | CommandBufferVk.cpp | 80 region.imageSubresource.aspectMask = texture->GetVkAspectMask(); in ComputeBufferImageCopyRegion() 81 region.imageSubresource.mipLevel = textureCopy.mipLevel; in ComputeBufferImageCopyRegion() 82 region.imageSubresource.baseArrayLayer = textureCopy.arrayLayer; in ComputeBufferImageCopyRegion() 83 region.imageSubresource.layerCount = 1; in ComputeBufferImageCopyRegion() 390 VkImageSubresourceLayers subresource = region.imageSubresource; in RecordCommands() 423 VkImageSubresourceLayers subresource = region.imageSubresource; in RecordCommands()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_helpers.cpp | 4455 copyRegion.imageSubresource.aspectMask = getAspectFlags(); in initializeNonZeroMemory() 4456 copyRegion.imageSubresource.layerCount = mLayerCount; in initializeNonZeroMemory() 4462 copyRegion.imageSubresource.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; in initializeNonZeroMemory() 4470 copyRegion.imageSubresource.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; in initializeNonZeroMemory() 5846 copy.imageSubresource.mipLevel = 0; in stageSubresourceUpdateImpl() 5847 copy.imageSubresource.layerCount = 1; in stageSubresourceUpdateImpl() 5850 copy.imageSubresource.baseArrayLayer = 0; in stageSubresourceUpdateImpl() 5851 copy.imageSubresource.aspectMask = kPlaneAspectFlags[plane]; in stageSubresourceUpdateImpl() 5867 copy.imageSubresource.mipLevel = updateLevelGL.get(); in stageSubresourceUpdateImpl() 5868 copy.imageSubresource.layerCount = index.getLayerCount(); in stageSubresourceUpdateImpl() [all …]
|
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/ |
D | copies.adoc | 441 [pname:imageSubresource.baseArrayLayer, 442 pname:imageSubresource.baseArrayLayer {plus} 443 pname:imageSubresource.layerCount), 633 contained within the specified pname:imageSubresource of pname:dstImage 638 specified pname:imageSubresource of pname:dstImage 643 the specified pname:imageSubresource of pname:dstImage 689 contained within the specified pname:imageSubresource of pname:srcImage 694 specified pname:imageSubresource of pname:srcImage 699 specified pname:imageSubresource of pname:srcImage 721 * pname:imageSubresource is a slink:VkImageSubresourceLayers used to [all …]
|