Home
last modified time | relevance | path

Searched refs:attachment_ref (Results 1 – 3 of 3) sorted by relevance

/external/vulkan-validation-layers/layers/
Dconvert_to_renderpass2.cpp183 … safe_VkAttachmentReference2KHR& attachment_ref = out_struct->pSubpasses[i].pInputAttachments[j]; in ConvertVkRenderPassCreateInfoToV2KHR() local
184 if (attachment_ref.aspectMask == VK_IMAGE_ASPECT_FLAG_BITS_MAX_ENUM && in ConvertVkRenderPassCreateInfoToV2KHR()
185attachment_ref.attachment < out_struct->attachmentCount && out_struct->pAttachments) { in ConvertVkRenderPassCreateInfoToV2KHR()
186 attachment_ref.aspectMask = 0; in ConvertVkRenderPassCreateInfoToV2KHR()
187 … VkFormat attachmentFormat = out_struct->pAttachments[attachment_ref.attachment].format; in ConvertVkRenderPassCreateInfoToV2KHR()
189 attachment_ref.aspectMask |= VK_IMAGE_ASPECT_COLOR_BIT; in ConvertVkRenderPassCreateInfoToV2KHR()
192 attachment_ref.aspectMask |= VK_IMAGE_ASPECT_DEPTH_BIT; in ConvertVkRenderPassCreateInfoToV2KHR()
195 attachment_ref.aspectMask |= VK_IMAGE_ASPECT_STENCIL_BIT; in ConvertVkRenderPassCreateInfoToV2KHR()
Dbuffer_validation.cpp550 auto &attachment_ref = subpass.pInputAttachments[k]; in VerifyFramebufferAndRenderPassLayouts() local
551 if (attachment_ref.attachment != VK_ATTACHMENT_UNUSED) { in VerifyFramebufferAndRenderPassLayouts()
552 auto image_view = attachments[attachment_ref.attachment]; in VerifyFramebufferAndRenderPassLayouts()
557 …ValidateRenderPassLayoutAgainstFramebufferImageUsage(rp_version, attachment_ref.layout, image, ima… in VerifyFramebufferAndRenderPassLayouts()
558 … framebuffer, render_pass, attachment_ref.attachment, in VerifyFramebufferAndRenderPassLayouts()
565 auto &attachment_ref = subpass.pColorAttachments[k]; in VerifyFramebufferAndRenderPassLayouts() local
566 if (attachment_ref.attachment != VK_ATTACHMENT_UNUSED) { in VerifyFramebufferAndRenderPassLayouts()
567 auto image_view = attachments[attachment_ref.attachment]; in VerifyFramebufferAndRenderPassLayouts()
572 …ValidateRenderPassLayoutAgainstFramebufferImageUsage(rp_version, attachment_ref.layout, image, ima… in VerifyFramebufferAndRenderPassLayouts()
573 … framebuffer, render_pass, attachment_ref.attachment, in VerifyFramebufferAndRenderPassLayouts()
[all …]
Dcore_validation.cpp10307 auto const &attachment_ref = subpass.pInputAttachments[j]; in ValidateRenderpassAttachmentUsage() local
10308 if (attachment_ref.attachment != VK_ATTACHMENT_UNUSED) { in ValidateRenderpassAttachmentUsage()
10309 …skip |= ValidateAttachmentIndex(rp_version, attachment_ref.attachment, pCreateInfo->attachmentCoun… in ValidateRenderpassAttachmentUsage()
10311 if (attachment_ref.aspectMask & VK_IMAGE_ASPECT_METADATA_BIT) { in ValidateRenderpassAttachmentUsage()
10320 if (attachment_ref.attachment < pCreateInfo->attachmentCount) { in ValidateRenderpassAttachmentUsage()
10321 … |= AddAttachmentUse(rp_version, i, attachment_uses, attachment_layouts, attachment_ref.attachment, in ValidateRenderpassAttachmentUsage()
10322 ATTACHMENT_INPUT, attachment_ref.layout); in ValidateRenderpassAttachmentUsage()
10325 …|= ValidateImageAspectMask(VK_NULL_HANDLE, pCreateInfo->pAttachments[attachment_ref.attachment].fo… in ValidateRenderpassAttachmentUsage()
10326 attachment_ref.aspectMask, function_name, vuid); in ValidateRenderpassAttachmentUsage()
10335 if (attachment_ref.aspectMask == 0) { in ValidateRenderpassAttachmentUsage()
[all …]