/external/swiftshader/src/Vulkan/ |
D | VkImage.cpp | 78 int srcBytesPerTexel = bytesPerTexel(pRegion.srcSubresource.aspectMask); in copyTo() 81 if(!((pRegion.srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT) || in copyTo() 82 (pRegion.srcSubresource.aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT) || in copyTo() 83 (pRegion.srcSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT)) || in copyTo() 84 (pRegion.srcSubresource.baseArrayLayer != 0) || in copyTo() 85 (pRegion.srcSubresource.layerCount != 1)) in copyTo() 99 …har* srcMem = static_cast<const char*>(getTexelPointer(pRegion.srcOffset, pRegion.srcSubresource)); in copyTo() 102 …int srcRowPitchBytes = rowPitchBytes(pRegion.srcSubresource.aspectMask, pRegion.srcSubresource.mip… in copyTo() 103 …int srcSlicePitchBytes = slicePitchBytes(pRegion.srcSubresource.aspectMask, pRegion.srcSubresource… in copyTo() 107 VkExtent3D srcExtent = getMipLevelExtent(pRegion.srcSubresource.mipLevel); in copyTo() [all …]
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta_resolve_cs.c | 394 radv_meta_get_iview_layer(src_image, ®ion->srcSubresource, in radv_meta_resolve_compute_image() 398 range.baseMipLevel = region->srcSubresource.mipLevel; in radv_meta_resolve_compute_image() 401 range.layerCount = region->srcSubresource.layerCount; in radv_meta_resolve_compute_image() 413 assert(region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT); in radv_meta_resolve_compute_image() 415 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount); in radv_meta_resolve_compute_image() 418 radv_meta_get_iview_layer(src_image, ®ion->srcSubresource, in radv_meta_resolve_compute_image() 432 for (uint32_t layer = 0; layer < region->srcSubresource.layerCount; in radv_meta_resolve_compute_image() 444 .baseMipLevel = region->srcSubresource.mipLevel, in radv_meta_resolve_compute_image()
|
D | radv_meta_resolve_fs.c | 463 radv_meta_get_iview_layer(src_image, ®ion->srcSubresource, in radv_meta_resolve_fragment_image() 467 range.baseMipLevel = region->srcSubresource.mipLevel; in radv_meta_resolve_fragment_image() 470 range.layerCount = region->srcSubresource.layerCount; in radv_meta_resolve_fragment_image() 484 assert(region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT); in radv_meta_resolve_fragment_image() 486 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount); in radv_meta_resolve_fragment_image() 489 radv_meta_get_iview_layer(src_image, ®ion->srcSubresource, in radv_meta_resolve_fragment_image() 503 for (uint32_t layer = 0; layer < region->srcSubresource.layerCount; in radv_meta_resolve_fragment_image() 515 .baseMipLevel = region->srcSubresource.mipLevel, in radv_meta_resolve_fragment_image()
|
D | radv_meta_resolve.c | 464 assert(region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT); in radv_CmdResolveImage() 466 assert(region->srcSubresource.layerCount == in radv_CmdResolveImage() 470 radv_meta_get_iview_layer(src_image, ®ion->srcSubresource, in radv_CmdResolveImage() 496 for (uint32_t layer = 0; layer < region->srcSubresource.layerCount; in radv_CmdResolveImage() 508 .baseMipLevel = region->srcSubresource.mipLevel, in radv_CmdResolveImage()
|
D | radv_meta_copy.c | 359 assert(pRegions[r].srcSubresource.aspectMask == in meta_copy_image() 366 &pRegions[r].srcSubresource); in meta_copy_image() 493 image_copy.srcSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in radv_blit_to_prime_linear() 494 image_copy.srcSubresource.layerCount = 1; in radv_blit_to_prime_linear()
|
D | radv_meta_blit.c | 526 const VkImageSubresourceLayers *src_res = &pRegions[r].srcSubresource; in radv_CmdBlitImage()
|
/external/vulkan-validation-layers/layers/ |
D | buffer_validation.cpp | 1813 if (is_multiplane && (rgn0->srcSubresource.aspectMask != rgn1->dstSubresource.aspectMask)) { in RegionIntersects() 1817 if ((rgn0->srcSubresource.mipLevel == rgn1->dstSubresource.mipLevel) && in RegionIntersects() 1818 …(RangesIntersect(rgn0->srcSubresource.baseArrayLayer, rgn0->srcSubresource.layerCount, rgn1->dstSu… in RegionIntersects() 2106 VkExtent3D subresource_extent = GetImageSubresourceExtent(src_img, ®ion->srcSubresource); in ValidateCopyImageTransferGranularityRequirements() 2147 depth_slices = region.srcSubresource.layerCount; // Slice count from 2D subresource in ValidateImageCopyData() 2182 … if ((0 != region.srcSubresource.baseArrayLayer) || (1 != region.srcSubresource.layerCount)) { in ValidateImageCopyData() 2188 … i, region.srcSubresource.baseArrayLayer, region.srcSubresource.layerCount); in ValidateImageCopyData() 2193 … if ((0 != region.srcSubresource.baseArrayLayer) || (1 != region.srcSubresource.layerCount)) { in ValidateImageCopyData() 2199 … i, region.srcSubresource.baseArrayLayer, region.srcSubresource.layerCount); in ValidateImageCopyData() 2221 … const VkExtent3D mip_extent = GetImageSubresourceExtent(src_state, &(region.srcSubresource)); in ValidateImageCopyData() [all …]
|
D | vk_format_utils.cpp | 1321 …rmat planeFormat = FindMultiplaneCompatibleFormat(srcFormat, regions[i].srcSubresource.aspectMask); in FormatSizesAreEqual()
|
D | parameter_validation_utils.cpp | 2295 if ((pRegions->srcSubresource.aspectMask & legal_aspect_flags) == 0) { in manual_PreCallValidateCmdCopyImage() 2324 if ((pRegions->srcSubresource.aspectMask & legal_aspect_flags) == 0) { in manual_PreCallValidateCmdBlitImage()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_blorp.c | 263 src_base_layer = pRegions[r].srcSubresource.baseArrayLayer; in anv_CmdCopyImage() 265 anv_get_layerCount(src_image, &pRegions[r].srcSubresource)); in anv_CmdCopyImage() 268 VkImageAspectFlags src_mask = pRegions[r].srcSubresource.aspectMask, in anv_CmdCopyImage() 285 blorp_copy(&batch, &src_surf, pRegions[r].srcSubresource.mipLevel, in anv_CmdCopyImage() 302 blorp_copy(&batch, &src_surf, pRegions[r].srcSubresource.mipLevel, in anv_CmdCopyImage() 490 const VkImageSubresourceLayers *src_res = &pRegions[r].srcSubresource; in anv_CmdBlitImage() 1401 assert(pRegions[r].srcSubresource.aspectMask == in anv_CmdResolveImage() 1403 assert(anv_get_layerCount(src_image, &pRegions[r].srcSubresource) == in anv_CmdResolveImage() 1409 VkImageAspectFlags src_mask = pRegions[r].srcSubresource.aspectMask, in anv_CmdResolveImage() 1417 pRegions[r].srcSubresource.mipLevel, in anv_CmdResolveImage() [all …]
|
D | anv_dump.c | 152 .srcSubresource = { in dump_image_do_blit()
|
/external/vulkan-validation-layers/tests/ |
D | layer_validation_tests.cpp | 3837 blit_region.srcSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F() 3838 blit_region.srcSubresource.baseArrayLayer = 0; in TEST_F() 3839 blit_region.srcSubresource.layerCount = 1; in TEST_F() 3840 blit_region.srcSubresource.mipLevel = 0; in TEST_F() 4004 blitRegion.srcSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F() 4005 blitRegion.srcSubresource.baseArrayLayer = 0; in TEST_F() 4006 blitRegion.srcSubresource.layerCount = 1; in TEST_F() 4007 blitRegion.srcSubresource.mipLevel = 0; in TEST_F() 4065 blitRegion.srcSubresource.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; in TEST_F() 4124 blitRegion.srcSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F() [all …]
|
D | vkrenderframework.cpp | 1136 copy_region.srcSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in CopyImage() 1137 copy_region.srcSubresource.baseArrayLayer = 0; in CopyImage() 1138 copy_region.srcSubresource.mipLevel = 0; in CopyImage() 1139 copy_region.srcSubresource.layerCount = 1; in CopyImage() 1181 copy_region.srcSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in CopyImageOut() 1182 copy_region.srcSubresource.baseArrayLayer = 0; in CopyImageOut() 1183 copy_region.srcSubresource.mipLevel = 0; in CopyImageOut() 1184 copy_region.srcSubresource.layerCount = 1; in CopyImageOut()
|
/external/skqp/src/gpu/vk/ |
D | GrVkGpu.cpp | 488 resolveInfo.srcSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1}; in resolveImage() 1249 blitRegion.srcSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, mipLevel - 1, 0, 1 }; in onRegenerateMipMapLevels() 1847 copyRegion.srcSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsCopyImage() 1923 blitRegion.srcSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsBlit()
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 491 resolveInfo.srcSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1}; in resolveImage() 1261 blitRegion.srcSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, mipLevel - 1, 0, 1 }; in onRegenerateMipMapLevels() 1886 copyRegion.srcSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsCopyImage() 1965 blitRegion.srcSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1 }; in copySurfaceAsBlit()
|
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrCopyTests.cpp | 852 const deUint32 srcPlaneNdx (copy.srcSubresource.aspectMask != vk::VK_IMAGE_ASPECT_COLOR_BIT in imageCopyTest() 853 ? vk::getAspectPlaneNdx((vk::VkImageAspectFlagBits)copy.srcSubresource.aspectMask) in imageCopyTest()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkStructTypes.inl | 1049 VkImageSubresourceLayers srcSubresource; member 1058 VkImageSubresourceLayers srcSubresource; member 1109 VkImageSubresourceLayers srcSubresource; member
|
D | vkVulkan_c.inl | 2504 VkImageSubresourceLayers srcSubresource; member 2512 VkImageSubresourceLayers srcSubresource; member 2556 VkImageSubresourceLayers srcSubresource; member
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiCopiesAndBlittingTests.cpp | 1110 …extent.depth = std::max(region.imageCopy.extent.depth, region.imageCopy.srcSubresource.layerCount); in copyRegionToTextureLevel() 2953 const deUint32 srcMipLevel = m_params.regions[i].imageBlit.srcSubresource.mipLevel; in checkLinearFilteredResult() 3231 …copyRegionToTextureLevel(m_expectedTextureLevel[m_params.regions[i].imageBlit.srcSubresource.mipLe… in generateExpectedResult() 3827 srcOffset.z = region.imageResolve.srcSubresource.baseArrayLayer; in copyRegionToTextureLevel() 3831 extent.depth = region.imageResolve.srcSubresource.layerCount; in copyRegionToTextureLevel() 6967 testParams.params.regions[regionNdx].imageBlit.srcSubresource.layerCount = layerCount; in addBlittingImageAllFormatsBaseLevelMipmapTests() 7078 testParams.params.regions[regionNdx].imageBlit.srcSubresource.layerCount = layerCount; in addBlittingImageAllFormatsPreviousLevelMipmapTests() 7124 testParams.params.regions[regionNdx].imageBlit.srcSubresource.layerCount = layerCount; in addBlittingImageAllFormatsPreviousLevelMipmapTests()
|
/external/mesa3d/include/vulkan/ |
D | vulkan.h | 2431 VkImageSubresourceLayers srcSubresource; member 2439 VkImageSubresourceLayers srcSubresource; member 2483 VkImageSubresourceLayers srcSubresource; member
|
/external/skia/include/third_party/vulkan/vulkan/ |
D | vulkan_core.h | 2601 VkImageSubresourceLayers srcSubresource; member 2609 VkImageSubresourceLayers srcSubresource; member 2653 VkImageSubresourceLayers srcSubresource; member
|
/external/skqp/include/third_party/vulkan/vulkan/ |
D | vulkan_core.h | 2601 VkImageSubresourceLayers srcSubresource; member 2609 VkImageSubresourceLayers srcSubresource; member 2653 VkImageSubresourceLayers srcSubresource; member
|
/external/vulkan-headers/include/vulkan/ |
D | vulkan_core.h | 2766 VkImageSubresourceLayers srcSubresource; member 2774 VkImageSubresourceLayers srcSubresource; member 2818 VkImageSubresourceLayers srcSubresource; member
|
/external/swiftshader/include/vulkan/ |
D | vulkan_core.h | 2719 VkImageSubresourceLayers srcSubresource; member 2727 VkImageSubresourceLayers srcSubresource; member 2771 VkImageSubresourceLayers srcSubresource; member
|
/external/deqp/external/vulkancts/scripts/src/ |
D | vulkan.h.in | 2501 VkImageSubresourceLayers srcSubresource; member 2509 VkImageSubresourceLayers srcSubresource; member 2553 VkImageSubresourceLayers srcSubresource; member
|