/external/mesa3d/src/amd/vulkan/ |
D | radv_meta_copy.c | 184 ®ion->imageSubresource, in copy_buffer_to_image() 185 region->imageSubresource.aspectMask); in copy_buffer_to_image() 194 .aspectMask = region->imageSubresource.aspectMask, in copy_buffer_to_image() 195 .baseMipLevel = region->imageSubresource.mipLevel, in copy_buffer_to_image() 197 .baseArrayLayer = region->imageSubresource.baseArrayLayer, in copy_buffer_to_image() 198 .layerCount = region->imageSubresource.layerCount, in copy_buffer_to_image() 217 unsigned num_slices_array = region->imageSubresource.layerCount; in copy_buffer_to_image() 272 .imageSubresource = pRegions[r].imageSubresource, in radv_CmdCopyBufferToImage() 351 ®ion->imageSubresource, in copy_image_to_buffer() 352 region->imageSubresource.aspectMask); in copy_image_to_buffer() [all …]
|
/external/swiftshader/src/Vulkan/ |
D | VkImage.cpp | 520 switch(region.imageSubresource.aspectMask) in copy() 530 UNSUPPORTED("aspectMask %x", int(region.imageSubresource.aspectMask)); in copy() 534 auto aspect = static_cast<VkImageAspectFlagBits>(region.imageSubresource.aspectMask); in copy() 551 …ter(region.imageOffset, { region.imageSubresource.aspectMask, region.imageSubresource.mipLevel, re… in copy() 554 int imageRowPitchBytes = rowPitchBytes(aspect, region.imageSubresource.mipLevel); in copy() 555 int imageSlicePitchBytes = slicePitchBytes(aspect, region.imageSubresource.mipLevel); in copy() 562 VkExtent3D mipLevelExtent = getMipLevelExtent(aspect, region.imageSubresource.mipLevel); in copy() 596 for(uint32_t i = 0; i < region.imageSubresource.layerCount; i++) in copy() 644 contentsChanged({ region.imageSubresource.aspectMask, region.imageSubresource.mipLevel, 1, in copy() 645 region.imageSubresource.baseArrayLayer, region.imageSubresource.layerCount }); in copy() [all …]
|
D | VkImageView.cpp | 352 VkImageSubresource imageSubresource = { in getOffsetPointer() local 358 return getImage(usage)->getTexelPointer(offset, imageSubresource); in getOffsetPointer()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageMisalignedCubeTests.cpp | 103 const vk::VkImageSubresourceLayers& imageSubresource, in makeBufferImageCopy() argument 112 imageSubresource, // VkImageSubresourceLayers imageSubresource; in makeBufferImageCopy() 231 …const VkImageSubresourceLayers imageSubresource = makeImageSubresourceLayers(VK_IMAGE_ASPECT_COLO… in iterate() local 232 …ageCopy bufferImageCopyRegion = makeBufferImageCopy(bufferOffset, imageSubresource, makeOffset3D… in iterate()
|
D | vktImageSubresourceLayoutTests.cpp | 463 region.imageSubresource.aspectMask = imageAspect; in iterateAspect() 464 region.imageSubresource.baseArrayLayer = 0u; in iterateAspect() 465 region.imageSubresource.layerCount = numLayers; in iterateAspect() 466 region.imageSubresource.mipLevel = levelNdx; in iterateAspect() 505 const auto imageSubresource = makeImageSubresource(imageAspect, levelNdx, layerNdx); in iterateAspect() local 506 vkd.getImageSubresourceLayout(device, image.get(), &imageSubresource, &subresourceLayout); in iterateAspect()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_meta_copy.c | 626 layer_offset < region->imageSubresource.layerCount) || in emit_copy_layer_to_buffer_per_tile_list() 630 region->imageSubresource.baseArrayLayer + layer_offset : in emit_copy_layer_to_buffer_per_tile_list() 634 region->imageSubresource.aspectMask, in emit_copy_layer_to_buffer_per_tile_list() 636 region->imageSubresource.mipLevel, in emit_copy_layer_to_buffer_per_tile_list() 664 region->imageSubresource.aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT ? in emit_copy_layer_to_buffer_per_tile_list() 671 region->imageSubresource.aspectMask, in emit_copy_layer_to_buffer_per_tile_list() 739 region->imageSubresource.aspectMask, in copy_image_to_buffer_tlb() 744 num_layers = region->imageSubresource.layerCount; in copy_image_to_buffer_tlb() 804 VkImageAspectFlags copy_aspect = region->imageSubresource.aspectMask; in copy_image_to_buffer_blit() 930 num_layers = region->imageSubresource.layerCount; in copy_image_to_buffer_blit() [all …]
|
/external/mesa3d/src/gallium/drivers/zink/ |
D | zink_resource.c | 412 copyRegion.imageSubresource.mipLevel = trans->base.level; in zink_transfer_copy_bufimage() 413 copyRegion.imageSubresource.layerCount = 1; in zink_transfer_copy_bufimage() 415 copyRegion.imageSubresource.baseArrayLayer = trans->base.box.z; in zink_transfer_copy_bufimage() 416 copyRegion.imageSubresource.layerCount = trans->base.box.depth; in zink_transfer_copy_bufimage() 446 copyRegion.imageSubresource.aspectMask = aspect; in zink_transfer_copy_bufimage()
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | vk_helpers.cpp | 4245 copyRegion.imageSubresource.aspectMask = getAspectFlags(); in initializeNonZeroMemory() 4246 copyRegion.imageSubresource.layerCount = mLayerCount; in initializeNonZeroMemory() 4252 copyRegion.imageSubresource.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; in initializeNonZeroMemory() 4260 copyRegion.imageSubresource.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; in initializeNonZeroMemory() 5546 copy.imageSubresource.mipLevel = 0; in stageSubresourceUpdateImpl() 5547 copy.imageSubresource.layerCount = 1; in stageSubresourceUpdateImpl() 5550 copy.imageSubresource.baseArrayLayer = 0; in stageSubresourceUpdateImpl() 5551 copy.imageSubresource.aspectMask = kPlaneAspectFlags[plane]; in stageSubresourceUpdateImpl() 5566 copy.imageSubresource.mipLevel = updateLevelGL.get(); in stageSubresourceUpdateImpl() 5567 copy.imageSubresource.layerCount = index.getLayerCount(); in stageSubresourceUpdateImpl() [all …]
|
D | OverlayVk.cpp | 141 copy.imageSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in createFont() 142 copy.imageSubresource.layerCount = gl::overlay::kFontCount; in createFont()
|
D | UtilsVk.cpp | 2596 region.imageSubresource.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; in stencilBlitResolveNoShaderExport() 2597 region.imageSubresource.mipLevel = in stencilBlitResolveNoShaderExport() 2599 region.imageSubresource.baseArrayLayer = depthStencilRenderTarget->getLayerIndex(); in stencilBlitResolveNoShaderExport() 2600 region.imageSubresource.layerCount = 1; in stencilBlitResolveNoShaderExport() 2887 srcRegion.imageSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in copyImageBits() 2888 srcRegion.imageSubresource.mipLevel = src->toVkLevel(params.srcLevel).get(); in copyImageBits() 2889 srcRegion.imageSubresource.baseArrayLayer = isSrc3D ? 0 : params.srcOffset[2]; in copyImageBits() 2890 srcRegion.imageSubresource.layerCount = isSrc3D ? 1 : params.copyExtents[2]; in copyImageBits() 3012 dstRegion.imageSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in copyImageBits() 3013 dstRegion.imageSubresource.mipLevel = dest->toVkLevel(params.dstLevel).get(); in copyImageBits() [all …]
|
D | TextureVk.cpp | 1684 region.imageSubresource.aspectMask = aspectFlags; in copyBufferDataToImage() 1685 region.imageSubresource.layerCount = layerCount; in copyBufferDataToImage() 1686 region.imageSubresource.mipLevel = mImage->toVkLevel(level).get(); in copyBufferDataToImage() 1694 region.imageSubresource.baseArrayLayer = layerIndex; in copyBufferDataToImage()
|
/external/vulkan-validation-layers/tests/ |
D | vklayertests_command.cpp | 1306 region.imageSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F() 1307 region.imageSubresource.layerCount = 1; in TEST_F() 1319 region.imageSubresource.mipLevel = 0; in TEST_F() 1325 region.imageSubresource.mipLevel = 2; in TEST_F() 1331 region.imageSubresource.mipLevel = 3; in TEST_F() 1337 region.imageSubresource.mipLevel = 4; in TEST_F() 1342 region.imageSubresource.mipLevel = 5; in TEST_F() 1357 region.imageSubresource.mipLevel = 4; in TEST_F() 1409 region.imageSubresource.mipLevel = 2; in TEST_F() 1525 region.imageSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F() [all …]
|
D | vklayertests_buffer_image_memory_sampler.cpp | 747 region.imageSubresource.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; in TEST_F() 748 region.imageSubresource.layerCount = 1; in TEST_F() 784 region.imageSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F() 785 region.imageSubresource.layerCount = 1; in TEST_F() 1488 copy_region.imageSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F() 1489 copy_region.imageSubresource.layerCount = 1; in TEST_F() 2383 region.imageSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F() 2384 region.imageSubresource.layerCount = 1; in TEST_F() 2994 region.imageSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F() 2996 region.imageSubresource.layerCount = 1; in TEST_F()
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryTestsUtil.cpp | 398 const vk::VkImageSubresourceLayers& imageSubresource, in makeBufferImageCopy() argument 407 imageSubresource, // VkImageSubresourceLayers imageSubresource; in makeBufferImageCopy()
|
D | vktGeometryLayeredRenderingTests.cpp | 1409 …const VkImageSubresourceLayers imageSubresource = makeImageSubresourceLayers(VK_IMAGE_ASPECT_COLO… in testLayeredReadBack() local 1410 …ageCopy bufferImageCopyRegion = makeBufferImageCopy(bufferOffset, imageSubresource, imageOffset,… in testLayeredReadBack() 1422 …const VkImageSubresourceLayers imageSubresource = makeImageSubresourceLayers(VK_IMAGE_ASPECT_DEPT… in testLayeredReadBack() local 1423 …ageCopy bufferImageCopyRegion = makeBufferImageCopy(bufferOffset, imageSubresource, makeOffset3D… in testLayeredReadBack() 1435 …const VkImageSubresourceLayers imageSubresource = makeImageSubresourceLayers(VK_IMAGE_ASPECT_STEN… in testLayeredReadBack() local 1436 …ageCopy bufferImageCopyRegion = makeBufferImageCopy(bufferOffset, imageSubresource, makeOffset3D… in testLayeredReadBack() 1690 …const VkImageSubresourceLayers imageSubresource = makeImageSubresourceLayers(VK_IMAGE_ASPECT_COLO… in testSecondaryCmdBuffer() local 1691 …ageCopy bufferImageCopyRegion = makeBufferImageCopy(bufferOffset, imageSubresource, imageOffset,… in testSecondaryCmdBuffer()
|
D | vktGeometryTestsUtil.hpp | 171 …vk::VkDeviceSize& bufferOffset, const vk::VkImageSubresourceLayers& imageSubresource, const vk::Vk…
|
/external/vulkan-validation-layers/layers/ |
D | buffer_validation.cpp | 2125 VkExtent3D subresource_extent = GetImageSubresourceExtent(img, ®ion->imageSubresource); in ValidateCopyBufferImageTransferGranularityRequirements() 4692 …if ((0 != pRegions[i].imageSubresource.baseArrayLayer) || (1 != pRegions[i].imageSubresource.layer… in ValidateBufferImageCopyData() 4697 …function, i, pRegions[i].imageSubresource.baseArrayLayer, pRegions[i].imageSubresource.layerCount); in ValidateBufferImageCopyData() 4703 …_size = FormatElementSize(image_state->createInfo.format, pRegions[i].imageSubresource.aspectMask); in ValidateBufferImageCopyData() 4740 …ent3D adusted_image_extent = GetImageSubresourceExtent(image_state, &pRegions[i].imageSubresource); in ValidateBufferImageCopyData() 4776 std::bitset<num_bits> aspect_mask_bits(pRegions[i].imageSubresource.aspectMask); in ValidateBufferImageCopyData() 4784 …if (!VerifyAspectsPresent(pRegions[i].imageSubresource.aspectMask, image_state->createInfo.format)… in ValidateBufferImageCopyData() 4789 … function, i, pRegions[i].imageSubresource.aspectMask, image_state->createInfo.format); in ValidateBufferImageCopyData() 4837 … VkExtent3D mip_extent = GetImageSubresourceExtent(image_state, &(pRegions[i].imageSubresource)); in ValidateBufferImageCopyData() 4892 … VkExtent3D image_extent = GetImageSubresourceExtent(image_state, &(pRegions[i].imageSubresource)); in ValidateImageBounds() [all …]
|
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_clear_blit.c | 1164 uint32_t layers = MAX2(info->imageExtent.depth, info->imageSubresource.layerCount); in tu_copy_buffer_to_image() 1166 copy_format(dst_image->vk_format, info->imageSubresource.aspectMask, true); in tu_copy_buffer_to_image() 1171 info->imageSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) { in tu_copy_buffer_to_image() 1190 copy_format(dst_image->vk_format, info->imageSubresource.aspectMask, false), in tu_copy_buffer_to_image() 1191 info->imageSubresource.aspectMask, ROTATE_0, false, dst_image->layout[0].ubwc); in tu_copy_buffer_to_image() 1194 …tu_image_view_copy(&dst, dst_image, dst_image->vk_format, &info->imageSubresource, offset.z, false… in tu_copy_buffer_to_image() 1243 uint32_t layers = MAX2(info->imageExtent.depth, info->imageSubresource.layerCount); in tu_copy_image_to_buffer() 1245 copy_format(src_image->vk_format, info->imageSubresource.aspectMask, true); in tu_copy_image_to_buffer() 1249 info->imageSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) { in tu_copy_image_to_buffer() 1267 …tu_image_view_copy(&src, src_image, src_image->vk_format, &info->imageSubresource, offset.z, stenc… in tu_copy_image_to_buffer()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_blorp.c | 515 const VkImageAspectFlags aspect = region->imageSubresource.aspectMask; in copy_buffer_to_image() 525 image.level = region->imageSubresource.mipLevel; in copy_buffer_to_image() 530 image.offset.z = region->imageSubresource.baseArrayLayer; in copy_buffer_to_image() 532 anv_get_layerCount(anv_image, ®ion->imageSubresource); in copy_buffer_to_image() 643 .imageSubresource = pRegions[r].imageSubresource, in anv_CmdCopyBufferToImage() 696 .imageSubresource = pRegions[r].imageSubresource, in anv_CmdCopyImageToBuffer()
|
/external/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_execute.c | 1528 …E_TYPE_3D ? copycmd->regions[i].imageOffset.z : copycmd->regions[i].imageSubresource.baseArrayLaye… in handle_copy_image_to_buffer() 1531 …_TYPE_3D ? copycmd->regions[i].imageExtent.depth : copycmd->regions[i].imageSubresource.layerCount; in handle_copy_image_to_buffer() 1535 copycmd->regions[i].imageSubresource.mipLevel, in handle_copy_image_to_buffer() 1556 if (copycmd->regions[i].imageSubresource.aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT) { in handle_copy_image_to_buffer() 1558 … } else if (copycmd->regions[i].imageSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) { in handle_copy_image_to_buffer() 1622 …E_TYPE_3D ? copycmd->regions[i].imageOffset.z : copycmd->regions[i].imageSubresource.baseArrayLaye… in handle_copy_buffer_to_image() 1625 …_TYPE_3D ? copycmd->regions[i].imageExtent.depth : copycmd->regions[i].imageSubresource.layerCount; in handle_copy_buffer_to_image() 1629 copycmd->regions[i].imageSubresource.mipLevel, in handle_copy_buffer_to_image() 1637 if (copycmd->regions[i].imageSubresource.aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT) { in handle_copy_buffer_to_image() 1639 … } else if (copycmd->regions[i].imageSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) { in handle_copy_buffer_to_image()
|
/external/deqp-deps/amber/src/vulkan/ |
D | transfer_image.cc | 239 copy_region.imageSubresource = { in CreateBufferImageCopy()
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationSmokeTests.cpp | 542 copyState.imageSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in copyToCPU() 543 copyState.imageSubresource.mipLevel = transferInfo->mipLevel; in copyToCPU() 544 copyState.imageSubresource.baseArrayLayer = 0; in copyToCPU() 545 copyState.imageSubresource.layerCount = 1; in copyToCPU()
|
/external/skqp/src/gpu/vk/ |
D | GrVkGpu.cpp | 459 region.imageSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in onTransferPixels() 752 region.imageSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, SkToU32(currentMipLevel), 0, 1 }; in uploadTexDataOptimal() 887 region.imageSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, SkToU32(currentMipLevel), 0, 1 }; in uploadTexDataCompressed() 1572 region.imageSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1}; in createTestingOnlyVkImage() 2172 region.imageSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in onReadPixels()
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 582 region.imageSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in onTransferPixelsTo() 649 region.imageSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in onTransferPixelsFrom() 831 region.imageSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, SkToU32(i), 0, 1}; in fill_in_compressed_regions() 928 region.imageSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, SkToU32(currentMipLevel), 0, 1}; in uploadTexDataOptimal() 2408 region.imageSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in onReadPixels()
|
/external/mesa3d/src/vulkan/wsi/ |
D | wsi_common_drm.c | 572 .imageSubresource = { in wsi_create_prime_image()
|