Lines Matching refs:srcSubresource
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()
2387 if (region.srcSubresource.aspectMask != region.dstSubresource.aspectMask) { in CopyImageMultiplaneValidation()
2390 … << region.srcSubresource.aspectMask << " and 0x" << region.dstSubresource.aspectMask << " )"; in CopyImageMultiplaneValidation()
2397 VkImageAspectFlags aspect = region.srcSubresource.aspectMask; in CopyImageMultiplaneValidation()
2481 depth_slices = region.srcSubresource.layerCount; // Slice count from 2D subresource in PreCallValidateCmdCopyImage()
2485 …skip |= ValidateImageSubresourceLayers(device_data, cb_node, ®ion.srcSubresource, "vkCmdCopyIma… in PreCallValidateCmdCopyImage()
2487 …skip |= ValidateImageMipLevel(device_data, cb_node, src_image_state, region.srcSubresource.mipLeve… in PreCallValidateCmdCopyImage()
2491 …teImageArrayLayerRange(device_data, cb_node, src_image_state, region.srcSubresource.baseArrayLayer, in PreCallValidateCmdCopyImage()
2492 … region.srcSubresource.layerCount, i, "vkCmdCopyImage", "srcSubresource", in PreCallValidateCmdCopyImage()
2505 … : region.srcSubresource.layerCount); in PreCallValidateCmdCopyImage()
2519 if (region.srcSubresource.layerCount != region.dstSubresource.layerCount) { in PreCallValidateCmdCopyImage()
2535 if (region.srcSubresource.aspectMask != region.dstSubresource.aspectMask) { in PreCallValidateCmdCopyImage()
2543 … if (!VerifyAspectsPresent(region.srcSubresource.aspectMask, src_image_state->createInfo.format)) { in PreCallValidateCmdCopyImage()
2563 … VkExtent3D img_extent = GetImageSubresourceExtent(src_image_state, &(region.srcSubresource)); in PreCallValidateCmdCopyImage()
2566 … "vkCmdCopyImage(): Source pRegion[" << i << "] with mipLevel [ " << region.srcSubresource.mipLevel in PreCallValidateCmdCopyImage()
2588 …Extent3D subresource_extent = GetImageSubresourceExtent(src_image_state, &(region.srcSubresource)); in PreCallValidateCmdCopyImage()
2713 …skip |= VerifyImageLayout(device_data, cb_node, src_image_state, pRegions[i].srcSubresource, srcIm… in PreCallValidateCmdCopyImage()
2736 … SetImageLayout(device_data, cb_node, src_image_state, pRegions[i].srcSubresource, srcImageLayout); in PreCallRecordCmdCopyImage()
2952 …|= ValidateImageSubresourceLayers(device_data, cb_node, &pRegions[i].srcSubresource, "vkCmdResolve… in PreCallValidateCmdResolveImage()
2956 …VerifyImageLayout(device_data, cb_node, src_image_state, pRegions[i].srcSubresource, srcImageLayou… in PreCallValidateCmdResolveImage()
2962 …alidateImageMipLevel(device_data, cb_node, src_image_state, pRegions[i].srcSubresource.mipLevel, i, in PreCallValidateCmdResolveImage()
2966 …geArrayLayerRange(device_data, cb_node, src_image_state, pRegions[i].srcSubresource.baseArrayLayer, in PreCallValidateCmdResolveImage()
2967 … pRegions[i].srcSubresource.layerCount, i, "vkCmdResolveImage()", "srcSubresource", in PreCallValidateCmdResolveImage()
2974 if (pRegions[i].srcSubresource.layerCount != pRegions[i].dstSubresource.layerCount) { in PreCallValidateCmdResolveImage()
2981 if ((pRegions[i].srcSubresource.aspectMask != VK_IMAGE_ASPECT_COLOR_BIT) || in PreCallValidateCmdResolveImage()
3150 …skip |= VerifyImageLayout(device_data, cb_node, src_image_state, rgn.srcSubresource, srcImageLayou… in PreCallValidateCmdBlitImage()
3157 …ValidateImageSubresourceLayers(device_data, cb_node, &rgn.srcSubresource, "vkCmdBlitImage()", "src… in PreCallValidateCmdBlitImage()
3160 …skip |= ValidateImageMipLevel(device_data, cb_node, src_image_state, rgn.srcSubresource.mipLevel, … in PreCallValidateCmdBlitImage()
3164 …idateImageArrayLayerRange(device_data, cb_node, src_image_state, rgn.srcSubresource.baseArrayLayer, in PreCallValidateCmdBlitImage()
3165 … rgn.srcSubresource.layerCount, i, "vkCmdBlitImage()", "srcSubresource", in PreCallValidateCmdBlitImage()
3189 if (rgn.srcSubresource.layerCount != rgn.dstSubresource.layerCount) { in PreCallValidateCmdBlitImage()
3196 if (rgn.srcSubresource.aspectMask != rgn.dstSubresource.aspectMask) { in PreCallValidateCmdBlitImage()
3202 if (!VerifyAspectsPresent(rgn.srcSubresource.aspectMask, src_format)) { in PreCallValidateCmdBlitImage()
3207 i, rgn.srcSubresource.aspectMask, string_VkFormat(src_format)); in PreCallValidateCmdBlitImage()
3219 … VkExtent3D src_extent = GetImageSubresourceExtent(src_image_state, &(rgn.srcSubresource)); in PreCallValidateCmdBlitImage()
3333 … if ((0 != rgn.srcSubresource.baseArrayLayer) || (1 != rgn.srcSubresource.layerCount) || in PreCallValidateCmdBlitImage()
3360 … SetImageLayout(device_data, cb_node, src_image_state, pRegions[i].srcSubresource, srcImageLayout); in PreCallRecordCmdBlitImage()