• Home
  • Raw
  • Download

Lines Matching refs:dst_image_state

2413 …                              const IMAGE_STATE *dst_image_state, const VkImageCopy region) const {  in CopyImageMultiplaneValidation()  argument
2417 …tiplane(src_image_state->createInfo.format)) && (!FormatIsMultiplane(dst_image_state->createInfo.f… in CopyImageMultiplaneValidation()
2444 …ltiplane(src_image_state->createInfo.format)) && (FormatIsMultiplane(dst_image_state->createInfo.f… in CopyImageMultiplaneValidation()
2453 planes = FormatPlaneCount(dst_image_state->createInfo.format); in CopyImageMultiplaneValidation()
2469 …tiplane(src_image_state->createInfo.format)) && (!FormatIsMultiplane(dst_image_state->createInfo.f… in CopyImageMultiplaneValidation()
2486 const auto *dst_image_state = GetImageState(dstImage); in PreCallValidateCmdCopyImage() local
2489 skip = ValidateImageCopyData(regionCount, pRegions, src_image_state, dst_image_state); in PreCallValidateCmdCopyImage()
2499 …GetAdjustedDestImageExtent(src_image_state->createInfo.format, dst_image_state->createInfo.format,… in PreCallValidateCmdCopyImage()
2507 (VK_IMAGE_TYPE_3D != dst_image_state->createInfo.imageType)) { in PreCallValidateCmdCopyImage()
2510 } else if ((VK_IMAGE_TYPE_3D == dst_image_state->createInfo.imageType) && in PreCallValidateCmdCopyImage()
2520 …skip |= ValidateImageMipLevel(cb_node, dst_image_state, region.dstSubresource.mipLevel, i, "vkCmdC… in PreCallValidateCmdCopyImage()
2525 …skip |= ValidateImageArrayLayerRange(cb_node, dst_image_state, region.dstSubresource.baseArrayLaye… in PreCallValidateCmdCopyImage()
2538 … (VK_IMAGE_TYPE_3D == dst_image_state->createInfo.imageType ? dst_copy_extent.depth in PreCallValidateCmdCopyImage()
2561 … skip |= CopyImageMultiplaneValidation(command_buffer, src_image_state, dst_image_state, region); in PreCallValidateCmdCopyImage()
2583 … if (!VerifyAspectsPresent(region.dstSubresource.aspectMask, dst_image_state->createInfo.format)) { in PreCallValidateCmdCopyImage()
2592 if (src_image_state->createInfo.imageType == dst_image_state->createInfo.imageType) { in PreCallValidateCmdCopyImage()
2606 img_extent = GetImageSubresourceExtent(dst_image_state, &(region.dstSubresource)); in PreCallValidateCmdCopyImage()
2649 subresource_extent = GetImageSubresourceExtent(dst_image_state, &(region.dstSubresource)); in PreCallValidateCmdCopyImage()
2677 if (src_image_state->image == dst_image_state->image) { in PreCallValidateCmdCopyImage()
2693 …tencil(src_image_state->createInfo.format) || FormatIsDepthOrStencil(dst_image_state->createInfo.f… in PreCallValidateCmdCopyImage()
2694 if (src_image_state->createInfo.format != dst_image_state->createInfo.format) { in PreCallValidateCmdCopyImage()
2700 …if (!FormatSizesAreEqual(src_image_state->createInfo.format, dst_image_state->createInfo.format, r… in PreCallValidateCmdCopyImage()
2708 if (src_image_state->createInfo.samples != dst_image_state->createInfo.samples) { in PreCallValidateCmdCopyImage()
2715 …skip |= ValidateMemoryIsBoundToImage(dst_image_state, "vkCmdCopyImage()", "VUID-vkCmdCopyImage-dst… in PreCallValidateCmdCopyImage()
2719 …skip |= ValidateImageUsageFlags(dst_image_state, VK_IMAGE_USAGE_TRANSFER_DST_BIT, true, "VUID-vkCm… in PreCallValidateCmdCopyImage()
2724 …skip |= ValidateImageFormatFeatureFlags(dst_image_state, VK_FORMAT_FEATURE_TRANSFER_DST_BIT, "vkCm… in PreCallValidateCmdCopyImage()
2735 …const char *invalid_dst_layout_vuid = (dst_image_state->shared_presentable && device_extensions.vk… in PreCallValidateCmdCopyImage()
2742 … skip |= VerifyImageLayout(cb_node, dst_image_state, pRegions[i].dstSubresource, dstImageLayout, in PreCallValidateCmdCopyImage()
2745 …teCopyImageTransferGranularityRequirements(cb_node, src_image_state, dst_image_state, &pRegions[i]… in PreCallValidateCmdCopyImage()
2757 auto dst_image_state = GetImageState(dstImage); in PreCallRecordCmdCopyImage() local
2761 AddCommandBufferBindingImage(cb_node, dst_image_state); in PreCallRecordCmdCopyImage()
2771 auto dst_image_state = GetImageState(dstImage); in PreCallRecordCmdCopyImage() local
2776 … SetImageInitialLayout(cb_node, *dst_image_state, pRegions[i].dstSubresource, dstImageLayout); in PreCallRecordCmdCopyImage()
2975 const auto *dst_image_state = GetImageState(dstImage); in PreCallValidateCmdResolveImage() local
2978 if (cb_node && src_image_state && dst_image_state) { in PreCallValidateCmdResolveImage()
2980 …skip |= ValidateMemoryIsBoundToImage(dst_image_state, "vkCmdResolveImage()", "VUID-vkCmdResolveIma… in PreCallValidateCmdResolveImage()
2985 …skip |= ValidateImageFormatFeatureFlags(dst_image_state, VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT, "… in PreCallValidateCmdResolveImage()
2994 … (dst_image_state->shared_presentable && device_extensions.vk_khr_shared_presentable_image) in PreCallValidateCmdResolveImage()
3007 … skip |= VerifyImageLayout(cb_node, dst_image_state, pRegions[i].dstSubresource, dstImageLayout, in PreCallValidateCmdResolveImage()
3012 …skip |= ValidateImageMipLevel(cb_node, dst_image_state, pRegions[i].dstSubresource.mipLevel, i, "v… in PreCallValidateCmdResolveImage()
3017 …skip |= ValidateImageArrayLayerRange(cb_node, dst_image_state, pRegions[i].dstSubresource.baseArra… in PreCallValidateCmdResolveImage()
3038 if (src_image_state->createInfo.format != dst_image_state->createInfo.format) { in PreCallValidateCmdResolveImage()
3043 if (src_image_state->createInfo.imageType != dst_image_state->createInfo.imageType) { in PreCallValidateCmdResolveImage()
3053 if (dst_image_state->createInfo.samples != VK_SAMPLE_COUNT_1_BIT) { in PreCallValidateCmdResolveImage()
3070 auto dst_image_state = GetImageState(dstImage); in PreCallRecordCmdResolveImage() local
3074 AddCommandBufferBindingImage(cb_node, dst_image_state); in PreCallRecordCmdResolveImage()
3082 const auto *dst_image_state = GetImageState(dstImage); in PreCallValidateCmdBlitImage() local
3088 if (cb_node && src_image_state && dst_image_state) { in PreCallValidateCmdBlitImage()
3091 …skip |= ValidateImageSampleCount(dst_image_state, VK_SAMPLE_COUNT_1_BIT, "vkCmdBlitImage(): dstIma… in PreCallValidateCmdBlitImage()
3094 …skip |= ValidateMemoryIsBoundToImage(dst_image_state, "vkCmdBlitImage()", "VUID-vkCmdBlitImage-dst… in PreCallValidateCmdBlitImage()
3099 …ValidateImageUsageFlags(dst_image_state, VK_IMAGE_USAGE_TRANSFER_DST_BIT, true, "VUID-vkCmdBlitIma… in PreCallValidateCmdBlitImage()
3107 …skip |= ValidateImageFormatFeatureFlags(dst_image_state, VK_FORMAT_FEATURE_BLIT_DST_BIT, "vkCmdBli… in PreCallValidateCmdBlitImage()
3113 VkFormat dst_format = dst_image_state->createInfo.format; in PreCallValidateCmdBlitImage()
3115 VkImageType dst_type = dst_image_state->createInfo.imageType; in PreCallValidateCmdBlitImage()
3134 (VK_SAMPLE_COUNT_1_BIT != dst_image_state->createInfo.samples)) { in PreCallValidateCmdBlitImage()
3189 … (dst_image_state->shared_presentable && device_extensions.vk_khr_shared_presentable_image) in PreCallValidateCmdBlitImage()
3198 skip |= VerifyImageLayout(cb_node, dst_image_state, rgn.dstSubresource, dstImageLayout, in PreCallValidateCmdBlitImage()
3205 …skip |= ValidateImageMipLevel(cb_node, dst_image_state, rgn.dstSubresource.mipLevel, i, "vkCmdBlit… in PreCallValidateCmdBlitImage()
3210 … skip |= ValidateImageArrayLayerRange(cb_node, dst_image_state, rgn.dstSubresource.baseArrayLayer, in PreCallValidateCmdBlitImage()
3319 … VkExtent3D dst_extent = GetImageSubresourceExtent(dst_image_state, &(rgn.dstSubresource)); in PreCallValidateCmdBlitImage()
3398 auto dst_image_state = GetImageState(dstImage); in PreCallRecordCmdBlitImage() local
3402 AddCommandBufferBindingImage(cb_node, dst_image_state); in PreCallRecordCmdBlitImage()
3412 auto dst_image_state = GetImageState(dstImage); in PreCallRecordCmdBlitImage() local
3417 … SetImageInitialLayout(cb_node, *dst_image_state, pRegions[i].dstSubresource, dstImageLayout); in PreCallRecordCmdBlitImage()
5061 const auto dst_image_state = GetImageState(dstImage); in PreCallValidateCmdCopyBufferToImage() local
5063 …bool skip = ValidateBufferImageCopyData(regionCount, pRegions, dst_image_state, "vkCmdCopyBufferTo… in PreCallValidateCmdCopyBufferToImage()
5077 …skip |= ValidateImageBounds(report_data, dst_image_state, regionCount, pRegions, "vkCmdCopyBufferT… in PreCallValidateCmdCopyBufferToImage()
5079 …skip |= ValidateBufferBounds(report_data, dst_image_state, src_buffer_state, regionCount, pRegions… in PreCallValidateCmdCopyBufferToImage()
5081 …skip |= ValidateImageSampleCount(dst_image_state, VK_SAMPLE_COUNT_1_BIT, "vkCmdCopyBufferToImage()… in PreCallValidateCmdCopyBufferToImage()
5085 …skip |= ValidateMemoryIsBoundToImage(dst_image_state, "vkCmdCopyBufferToImage()", "VUID-vkCmdCopyB… in PreCallValidateCmdCopyBufferToImage()
5089 skip |= ValidateImageUsageFlags(dst_image_state, VK_IMAGE_USAGE_TRANSFER_DST_BIT, true, in PreCallValidateCmdCopyBufferToImage()
5093 …skip |= ValidateImageFormatFeatureFlags(dst_image_state, VK_FORMAT_FEATURE_TRANSFER_DST_BIT, "vkCm… in PreCallValidateCmdCopyBufferToImage()
5099 …const char *dst_invalid_layout_vuid = (dst_image_state->shared_presentable && device_extensions.vk… in PreCallValidateCmdCopyBufferToImage()
5105 … skip |= VerifyImageLayout(cb_node, dst_image_state, pRegions[i].imageSubresource, dstImageLayout, in PreCallValidateCmdCopyBufferToImage()
5109 …cb_node, dst_image_state, &pRegions[i], i, "vkCmdCopyBufferToImage()", "VUID-vkCmdCopyBufferToImag… in PreCallValidateCmdCopyBufferToImage()
5111 …ValidateImageMipLevel(cb_node, dst_image_state, pRegions[i].imageSubresource.mipLevel, i, "vkCmdCo… in PreCallValidateCmdCopyBufferToImage()
5113 …skip |= ValidateImageArrayLayerRange(cb_node, dst_image_state, pRegions[i].imageSubresource.baseAr… in PreCallValidateCmdCopyBufferToImage()
5125 auto dst_image_state = GetImageState(dstImage); in PreCallRecordCmdCopyBufferToImage() local
5128 AddCommandBufferBindingImage(cb_node, dst_image_state); in PreCallRecordCmdCopyBufferToImage()
5137 auto dst_image_state = GetImageState(dstImage); in PreCallRecordCmdCopyBufferToImage() local
5140 … SetImageInitialLayout(cb_node, *dst_image_state, pRegions[i].imageSubresource, dstImageLayout); in PreCallRecordCmdCopyBufferToImage()