• Home
  • Raw
  • Download

Lines Matching refs:src_image_state

2380 …                            const IMAGE_STATE *src_image_state, const IMAGE_STATE *dst_image_state,  in CopyImageMultiplaneValidation()  argument
2385 …if ((!FormatIsMultiplane(src_image_state->createInfo.format)) && (!FormatIsMultiplane(dst_image_st… in CopyImageMultiplaneValidation()
2396 uint32_t planes = FormatPlaneCount(src_image_state->createInfo.format); in CopyImageMultiplaneValidation()
2412 …if ((!FormatIsMultiplane(src_image_state->createInfo.format)) && (FormatIsMultiplane(dst_image_sta… in CopyImageMultiplaneValidation()
2437 …if ((FormatIsMultiplane(src_image_state->createInfo.format)) && (!FormatIsMultiplane(dst_image_sta… in CopyImageMultiplaneValidation()
2454 auto src_image_state = GetImageState(srcImage); in PreCallValidateCmdCopyImage() local
2458 …skip = ValidateImageCopyData(device_data, report_data, regionCount, pRegions, src_image_state, dst… in PreCallValidateCmdCopyImage()
2468 …GetAdjustedDestImageExtent(src_image_state->createInfo.format, dst_image_state->createInfo.format,… in PreCallValidateCmdCopyImage()
2475 if ((VK_IMAGE_TYPE_3D == src_image_state->createInfo.imageType) && in PreCallValidateCmdCopyImage()
2480 (VK_IMAGE_TYPE_3D != src_image_state->createInfo.imageType)) { in PreCallValidateCmdCopyImage()
2487 …skip |= ValidateImageMipLevel(device_data, cb_node, src_image_state, region.srcSubresource.mipLeve… in PreCallValidateCmdCopyImage()
2491 …skip |= ValidateImageArrayLayerRange(device_data, cb_node, src_image_state, region.srcSubresource.… in PreCallValidateCmdCopyImage()
2504 … (VK_IMAGE_TYPE_3D == src_image_state->createInfo.imageType ? src_copy_extent.depth in PreCallValidateCmdCopyImage()
2530 …skip |= CopyImageMultiplaneValidation(device_data, command_buffer, src_image_state, dst_image_stat… in PreCallValidateCmdCopyImage()
2543 … if (!VerifyAspectsPresent(region.srcSubresource.aspectMask, src_image_state->createInfo.format)) { in PreCallValidateCmdCopyImage()
2561 if (src_image_state->createInfo.imageType == dst_image_state->createInfo.imageType) { in PreCallValidateCmdCopyImage()
2563 … VkExtent3D img_extent = GetImageSubresourceExtent(src_image_state, &(region.srcSubresource)); in PreCallValidateCmdCopyImage()
2588 …VkExtent3D subresource_extent = GetImageSubresourceExtent(src_image_state, &(region.srcSubresource… in PreCallValidateCmdCopyImage()
2646 if (src_image_state->image == dst_image_state->image) { in PreCallValidateCmdCopyImage()
2648 if (RegionIntersects(&region, &pRegions[j], src_image_state->createInfo.imageType, in PreCallValidateCmdCopyImage()
2649 FormatIsMultiplane(src_image_state->createInfo.format))) { in PreCallValidateCmdCopyImage()
2662 …if (FormatIsDepthOrStencil(src_image_state->createInfo.format) || FormatIsDepthOrStencil(dst_image… 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()
2683 …skip |= ValidateMemoryIsBoundToImage(device_data, src_image_state, "vkCmdCopyImage()", "VUID-vkCmd… in PreCallValidateCmdCopyImage()
2686 …skip |= ValidateImageUsageFlags(device_data, src_image_state, VK_IMAGE_USAGE_TRANSFER_SRC_BIT, tru… in PreCallValidateCmdCopyImage()
2692 …ValidateImageFormatFeatureFlags(device_data, src_image_state, VK_FORMAT_FEATURE_TRANSFER_SRC_BIT, … in PreCallValidateCmdCopyImage()
2705 … (src_image_state->shared_presentable && GetDeviceExtensions()->vk_khr_shared_presentable_image) in PreCallValidateCmdCopyImage()
2713 …skip |= VerifyImageLayout(device_data, cb_node, src_image_state, pRegions[i].srcSubresource, srcIm… in PreCallValidateCmdCopyImage()
2719 …lidateCopyImageTransferGranularityRequirements(device_data, cb_node, src_image_state, dst_image_st… in PreCallValidateCmdCopyImage()
2731 auto src_image_state = GetImageState(srcImage); in PreCallRecordCmdCopyImage() local
2736 … SetImageLayout(device_data, cb_node, src_image_state, pRegions[i].srcSubresource, srcImageLayout); in PreCallRecordCmdCopyImage()
2740 AddCommandBufferBindingImage(device_data, cb_node, src_image_state); in PreCallRecordCmdCopyImage()
2923 auto src_image_state = GetImageState(srcImage); in PreCallValidateCmdResolveImage() local
2927 if (cb_node && src_image_state && dst_image_state) { in PreCallValidateCmdResolveImage()
2928 skip |= ValidateMemoryIsBoundToImage(device_data, src_image_state, "vkCmdResolveImage()", in PreCallValidateCmdResolveImage()
2942 … (src_image_state->shared_presentable && GetDeviceExtensions()->vk_khr_shared_presentable_image) in PreCallValidateCmdResolveImage()
2956 …skip |= VerifyImageLayout(device_data, cb_node, src_image_state, pRegions[i].srcSubresource, srcIm… in PreCallValidateCmdResolveImage()
2962 …skip |= ValidateImageMipLevel(device_data, cb_node, src_image_state, pRegions[i].srcSubresource.mi… in PreCallValidateCmdResolveImage()
2966 …skip |= ValidateImageArrayLayerRange(device_data, cb_node, src_image_state, pRegions[i].srcSubreso… 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()
3000 if (src_image_state->createInfo.samples == VK_SAMPLE_COUNT_1_BIT) { in PreCallValidateCmdResolveImage()
3021 auto src_image_state = GetImageState(srcImage); in PreCallRecordCmdResolveImage() local
3025 AddCommandBufferBindingImage(device_data, cb_node, src_image_state); in PreCallRecordCmdResolveImage()
3034 auto src_image_state = GetImageState(srcImage); in PreCallValidateCmdBlitImage() local
3041 if (cb_node && src_image_state && dst_image_state) { in PreCallValidateCmdBlitImage()
3042 …skip |= ValidateImageSampleCount(device_data, src_image_state, VK_SAMPLE_COUNT_1_BIT, "vkCmdBlitIm… in PreCallValidateCmdBlitImage()
3047 …ValidateMemoryIsBoundToImage(device_data, src_image_state, "vkCmdBlitImage()", "VUID-vkCmdBlitImag… in PreCallValidateCmdBlitImage()
3051 … ValidateImageUsageFlags(device_data, src_image_state, VK_IMAGE_USAGE_TRANSFER_SRC_BIT, true, in PreCallValidateCmdBlitImage()
3060 …skip |= ValidateImageFormatFeatureFlags(device_data, src_image_state, VK_FORMAT_FEATURE_BLIT_SRC_B… in PreCallValidateCmdBlitImage()
3067 VkFormat src_format = src_image_state->createInfo.format; in PreCallValidateCmdBlitImage()
3069 VkImageType src_type = src_image_state->createInfo.imageType; in PreCallValidateCmdBlitImage()
3073 …skip |= ValidateImageFormatFeatureFlags(device_data, src_image_state, VK_FORMAT_FEATURE_SAMPLED_IM… in PreCallValidateCmdBlitImage()
3077 skip |= ValidateImageFormatFeatureFlags(device_data, src_image_state, in PreCallValidateCmdBlitImage()
3088 if ((VK_SAMPLE_COUNT_1_BIT != src_image_state->createInfo.samples) || in PreCallValidateCmdBlitImage()
3140 … (src_image_state->shared_presentable && GetDeviceExtensions()->vk_khr_shared_presentable_image) in PreCallValidateCmdBlitImage()
3150 …skip |= VerifyImageLayout(device_data, cb_node, src_image_state, rgn.srcSubresource, srcImageLayou… in PreCallValidateCmdBlitImage()
3160 …skip |= ValidateImageMipLevel(device_data, cb_node, src_image_state, rgn.srcSubresource.mipLevel, … in PreCallValidateCmdBlitImage()
3164 …skip |= ValidateImageArrayLayerRange(device_data, cb_node, src_image_state, rgn.srcSubresource.bas… in PreCallValidateCmdBlitImage()
3219 … VkExtent3D src_extent = GetImageSubresourceExtent(src_image_state, &(rgn.srcSubresource)); in PreCallValidateCmdBlitImage()
3355 auto src_image_state = GetImageState(srcImage); in PreCallRecordCmdBlitImage() local
3360 … SetImageLayout(device_data, cb_node, src_image_state, pRegions[i].srcSubresource, srcImageLayout); in PreCallRecordCmdBlitImage()
3364 AddCommandBufferBindingImage(device_data, cb_node, src_image_state); in PreCallRecordCmdBlitImage()
4872 auto src_image_state = GetImageState(srcImage); in PreCallValidateCmdCopyImageToBuffer() local
4875 …bool skip = ValidateBufferImageCopyData(report_data, regionCount, pRegions, src_image_state, "vkCm… in PreCallValidateCmdCopyImageToBuffer()
4891 …skip |= ValidateImageBounds(report_data, src_image_state, regionCount, pRegions, "vkCmdCopyImageTo… in PreCallValidateCmdCopyImageToBuffer()
4893 …skip |= ValidateBufferBounds(report_data, src_image_state, dst_buffer_state, regionCount, pRegions… in PreCallValidateCmdCopyImageToBuffer()
4896 …skip |= ValidateImageSampleCount(device_data, src_image_state, VK_SAMPLE_COUNT_1_BIT, "vkCmdCopyIm… in PreCallValidateCmdCopyImageToBuffer()
4898 skip |= ValidateMemoryIsBoundToImage(device_data, src_image_state, "vkCmdCopyImageToBuffer()", in PreCallValidateCmdCopyImageToBuffer()
4904 …skip |= ValidateImageUsageFlags(device_data, src_image_state, VK_IMAGE_USAGE_TRANSFER_SRC_BIT, tru… in PreCallValidateCmdCopyImageToBuffer()
4911 …skip |= ValidateImageFormatFeatureFlags(device_data, src_image_state, VK_FORMAT_FEATURE_TRANSFER_S… in PreCallValidateCmdCopyImageToBuffer()
4918 … (src_image_state->shared_presentable && GetDeviceExtensions()->vk_khr_shared_presentable_image) in PreCallValidateCmdCopyImageToBuffer()
4924 …skip |= VerifyImageLayout(device_data, cb_node, src_image_state, pRegions[i].imageSubresource, src… in PreCallValidateCmdCopyImageToBuffer()
4927 …CopyBufferImageTransferGranularityRequirements(device_data, cb_node, src_image_state, &pRegions[i]… in PreCallValidateCmdCopyImageToBuffer()
4930 …skip |= ValidateImageMipLevel(device_data, cb_node, src_image_state, pRegions[i].imageSubresource.… in PreCallValidateCmdCopyImageToBuffer()
4933 …skip |= ValidateImageArrayLayerRange(device_data, cb_node, src_image_state, pRegions[i].imageSubre… in PreCallValidateCmdCopyImageToBuffer()
4944 auto src_image_state = GetImageState(srcImage); in PreCallRecordCmdCopyImageToBuffer() local
4949 …SetImageLayout(device_data, cb_node, src_image_state, pRegions[i].imageSubresource, srcImageLayout… in PreCallRecordCmdCopyImageToBuffer()
4952 AddCommandBufferBindingImage(device_data, cb_node, src_image_state); in PreCallRecordCmdCopyImageToBuffer()