Lines Matching refs:dst_image_state
2380 … const IMAGE_STATE *src_image_state, const IMAGE_STATE *dst_image_state, in CopyImageMultiplaneValidation() argument
2385 …tiplane(src_image_state->createInfo.format)) && (!FormatIsMultiplane(dst_image_state->createInfo.f… in CopyImageMultiplaneValidation()
2412 …ltiplane(src_image_state->createInfo.format)) && (FormatIsMultiplane(dst_image_state->createInfo.f… in CopyImageMultiplaneValidation()
2421 planes = FormatPlaneCount(dst_image_state->createInfo.format); in CopyImageMultiplaneValidation()
2437 …tiplane(src_image_state->createInfo.format)) && (!FormatIsMultiplane(dst_image_state->createInfo.f… in CopyImageMultiplaneValidation()
2455 auto dst_image_state = GetImageState(dstImage); in PreCallValidateCmdCopyImage() local
2458 …teImageCopyData(device_data, report_data, regionCount, pRegions, src_image_state, dst_image_state); in PreCallValidateCmdCopyImage()
2468 …GetAdjustedDestImageExtent(src_image_state->createInfo.format, dst_image_state->createInfo.format,… in PreCallValidateCmdCopyImage()
2476 (VK_IMAGE_TYPE_3D != dst_image_state->createInfo.imageType)) { in PreCallValidateCmdCopyImage()
2479 } else if ((VK_IMAGE_TYPE_3D == dst_image_state->createInfo.imageType) && in PreCallValidateCmdCopyImage()
2489 …skip |= ValidateImageMipLevel(device_data, cb_node, dst_image_state, region.dstSubresource.mipLeve… in PreCallValidateCmdCopyImage()
2494 …skip |= ValidateImageArrayLayerRange(device_data, cb_node, dst_image_state, region.dstSubresource.… in PreCallValidateCmdCopyImage()
2507 … (VK_IMAGE_TYPE_3D == dst_image_state->createInfo.imageType ? dst_copy_extent.depth in PreCallValidateCmdCopyImage()
2530 …pyImageMultiplaneValidation(device_data, command_buffer, src_image_state, dst_image_state, region); in PreCallValidateCmdCopyImage()
2552 … if (!VerifyAspectsPresent(region.dstSubresource.aspectMask, dst_image_state->createInfo.format)) { in PreCallValidateCmdCopyImage()
2561 if (src_image_state->createInfo.imageType == dst_image_state->createInfo.imageType) { in PreCallValidateCmdCopyImage()
2575 img_extent = GetImageSubresourceExtent(dst_image_state, &(region.dstSubresource)); in PreCallValidateCmdCopyImage()
2618 subresource_extent = GetImageSubresourceExtent(dst_image_state, &(region.dstSubresource)); in PreCallValidateCmdCopyImage()
2646 if (src_image_state->image == dst_image_state->image) { in PreCallValidateCmdCopyImage()
2662 …tencil(src_image_state->createInfo.format) || FormatIsDepthOrStencil(dst_image_state->createInfo.f… in PreCallValidateCmdCopyImage()
2663 if (src_image_state->createInfo.format != dst_image_state->createInfo.format) { in PreCallValidateCmdCopyImage()
2669 …if (!FormatSizesAreEqual(src_image_state->createInfo.format, dst_image_state->createInfo.format, r… in PreCallValidateCmdCopyImage()
2677 if (src_image_state->createInfo.samples != dst_image_state->createInfo.samples) { in PreCallValidateCmdCopyImage()
2684 …skip |= ValidateMemoryIsBoundToImage(device_data, dst_image_state, "vkCmdCopyImage()", "VUID-vkCmd… in PreCallValidateCmdCopyImage()
2688 …skip |= ValidateImageUsageFlags(device_data, dst_image_state, VK_IMAGE_USAGE_TRANSFER_DST_BIT, tru… in PreCallValidateCmdCopyImage()
2695 …ValidateImageFormatFeatureFlags(device_data, dst_image_state, VK_FORMAT_FEATURE_TRANSFER_DST_BIT, … in PreCallValidateCmdCopyImage()
2709 … (dst_image_state->shared_presentable && GetDeviceExtensions()->vk_khr_shared_presentable_image) in PreCallValidateCmdCopyImage()
2716 …skip |= VerifyImageLayout(device_data, cb_node, dst_image_state, pRegions[i].dstSubresource, dstIm… in PreCallValidateCmdCopyImage()
2719 …ateCopyImageTransferGranularityRequirements(device_data, cb_node, src_image_state, dst_image_state, in PreCallValidateCmdCopyImage()
2732 auto dst_image_state = GetImageState(dstImage); in PreCallRecordCmdCopyImage() local
2737 … SetImageLayout(device_data, cb_node, dst_image_state, pRegions[i].dstSubresource, dstImageLayout); in PreCallRecordCmdCopyImage()
2741 AddCommandBufferBindingImage(device_data, cb_node, dst_image_state); in PreCallRecordCmdCopyImage()
2924 auto dst_image_state = GetImageState(dstImage); in PreCallValidateCmdResolveImage() local
2927 if (cb_node && src_image_state && dst_image_state) { in PreCallValidateCmdResolveImage()
2930 skip |= ValidateMemoryIsBoundToImage(device_data, dst_image_state, "vkCmdResolveImage()", in PreCallValidateCmdResolveImage()
2936 …skip |= ValidateImageFormatFeatureFlags(device_data, dst_image_state, VK_FORMAT_FEATURE_COLOR_ATTA… in PreCallValidateCmdResolveImage()
2946 … (dst_image_state->shared_presentable && GetDeviceExtensions()->vk_khr_shared_presentable_image) in PreCallValidateCmdResolveImage()
2959 …skip |= VerifyImageLayout(device_data, cb_node, dst_image_state, pRegions[i].dstSubresource, dstIm… in PreCallValidateCmdResolveImage()
2964 …skip |= ValidateImageMipLevel(device_data, cb_node, dst_image_state, pRegions[i].dstSubresource.mi… in PreCallValidateCmdResolveImage()
2969 …skip |= ValidateImageArrayLayerRange(device_data, cb_node, dst_image_state, pRegions[i].dstSubreso… in PreCallValidateCmdResolveImage()
2990 if (src_image_state->createInfo.format != dst_image_state->createInfo.format) { in PreCallValidateCmdResolveImage()
2995 if (src_image_state->createInfo.imageType != dst_image_state->createInfo.imageType) { in PreCallValidateCmdResolveImage()
3005 if (dst_image_state->createInfo.samples != VK_SAMPLE_COUNT_1_BIT) { in PreCallValidateCmdResolveImage()
3022 auto dst_image_state = GetImageState(dstImage); in PreCallRecordCmdResolveImage() local
3026 AddCommandBufferBindingImage(device_data, cb_node, dst_image_state); in PreCallRecordCmdResolveImage()
3035 auto dst_image_state = GetImageState(dstImage); in PreCallValidateCmdBlitImage() local
3041 if (cb_node && src_image_state && dst_image_state) { in PreCallValidateCmdBlitImage()
3044 …skip |= ValidateImageSampleCount(device_data, dst_image_state, VK_SAMPLE_COUNT_1_BIT, "vkCmdBlitIm… in PreCallValidateCmdBlitImage()
3049 …ValidateMemoryIsBoundToImage(device_data, dst_image_state, "vkCmdBlitImage()", "VUID-vkCmdBlitImag… in PreCallValidateCmdBlitImage()
3054 … ValidateImageUsageFlags(device_data, dst_image_state, VK_IMAGE_USAGE_TRANSFER_DST_BIT, true, in PreCallValidateCmdBlitImage()
3062 …skip |= ValidateImageFormatFeatureFlags(device_data, dst_image_state, VK_FORMAT_FEATURE_BLIT_DST_B… in PreCallValidateCmdBlitImage()
3068 VkFormat dst_format = dst_image_state->createInfo.format; in PreCallValidateCmdBlitImage()
3070 VkImageType dst_type = dst_image_state->createInfo.imageType; in PreCallValidateCmdBlitImage()
3089 (VK_SAMPLE_COUNT_1_BIT != dst_image_state->createInfo.samples)) { in PreCallValidateCmdBlitImage()
3144 … (dst_image_state->shared_presentable && GetDeviceExtensions()->vk_khr_shared_presentable_image) in PreCallValidateCmdBlitImage()
3153 …skip |= VerifyImageLayout(device_data, cb_node, dst_image_state, rgn.dstSubresource, dstImageLayou… in PreCallValidateCmdBlitImage()
3162 …skip |= ValidateImageMipLevel(device_data, cb_node, dst_image_state, rgn.dstSubresource.mipLevel, … in PreCallValidateCmdBlitImage()
3167 …skip |= ValidateImageArrayLayerRange(device_data, cb_node, dst_image_state, rgn.dstSubresource.bas… in PreCallValidateCmdBlitImage()
3276 … VkExtent3D dst_extent = GetImageSubresourceExtent(dst_image_state, &(rgn.dstSubresource)); in PreCallValidateCmdBlitImage()
3356 auto dst_image_state = GetImageState(dstImage); in PreCallRecordCmdBlitImage() local
3361 … SetImageLayout(device_data, cb_node, dst_image_state, pRegions[i].dstSubresource, dstImageLayout); in PreCallRecordCmdBlitImage()
3365 AddCommandBufferBindingImage(device_data, cb_node, dst_image_state); in PreCallRecordCmdBlitImage()
4962 auto dst_image_state = GetImageState(dstImage); in PreCallValidateCmdCopyBufferToImage() local
4964 …bool skip = ValidateBufferImageCopyData(report_data, regionCount, pRegions, dst_image_state, "vkCm… in PreCallValidateCmdCopyBufferToImage()
4978 …skip |= ValidateImageBounds(report_data, dst_image_state, regionCount, pRegions, "vkCmdCopyBufferT… in PreCallValidateCmdCopyBufferToImage()
4980 …skip |= ValidateBufferBounds(report_data, dst_image_state, src_buffer_state, regionCount, pRegions… in PreCallValidateCmdCopyBufferToImage()
4982 …skip |= ValidateImageSampleCount(device_data, dst_image_state, VK_SAMPLE_COUNT_1_BIT, "vkCmdCopyBu… in PreCallValidateCmdCopyBufferToImage()
4986 skip |= ValidateMemoryIsBoundToImage(device_data, dst_image_state, "vkCmdCopyBufferToImage()", in PreCallValidateCmdCopyBufferToImage()
4991 …skip |= ValidateImageUsageFlags(device_data, dst_image_state, VK_IMAGE_USAGE_TRANSFER_DST_BIT, tru… in PreCallValidateCmdCopyBufferToImage()
4995 …skip |= ValidateImageFormatFeatureFlags(device_data, dst_image_state, VK_FORMAT_FEATURE_TRANSFER_D… in PreCallValidateCmdCopyBufferToImage()
5002 … (dst_image_state->shared_presentable && GetDeviceExtensions()->vk_khr_shared_presentable_image) in PreCallValidateCmdCopyBufferToImage()
5008 …skip |= VerifyImageLayout(device_data, cb_node, dst_image_state, pRegions[i].imageSubresource, dst… in PreCallValidateCmdCopyBufferToImage()
5011 …CopyBufferImageTransferGranularityRequirements(device_data, cb_node, dst_image_state, &pRegions[i]… in PreCallValidateCmdCopyBufferToImage()
5014 …skip |= ValidateImageMipLevel(device_data, cb_node, dst_image_state, pRegions[i].imageSubresource.… in PreCallValidateCmdCopyBufferToImage()
5017 …skip |= ValidateImageArrayLayerRange(device_data, cb_node, dst_image_state, pRegions[i].imageSubre… in PreCallValidateCmdCopyBufferToImage()
5030 auto dst_image_state = GetImageState(dstImage); in PreCallRecordCmdCopyBufferToImage() local
5034 …SetImageLayout(device_data, cb_node, dst_image_state, pRegions[i].imageSubresource, dstImageLayout… in PreCallRecordCmdCopyBufferToImage()
5037 AddCommandBufferBindingImage(device_data, cb_node, dst_image_state); in PreCallRecordCmdCopyBufferToImage()