Searched refs:attachment_ref (Results 1 – 3 of 3) sorted by relevance
/external/vulkan-validation-layers/layers/ |
D | convert_to_renderpass2.cpp | 183 … 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() 185 … attachment_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()
|
D | buffer_validation.cpp | 520 auto &attachment_ref = subpass.pInputAttachments[k]; in VerifyFramebufferAndRenderPassLayouts() local 521 if (attachment_ref.attachment != VK_ATTACHMENT_UNUSED) { in VerifyFramebufferAndRenderPassLayouts() 522 auto image_view = framebufferInfo.pAttachments[attachment_ref.attachment]; in VerifyFramebufferAndRenderPassLayouts() 527 …RenderPassLayoutAgainstFramebufferImageUsage(device_data, rp_version, attachment_ref.layout, image, in VerifyFramebufferAndRenderPassLayouts() 529 … attachment_ref.attachment, "input attachment layout"); in VerifyFramebufferAndRenderPassLayouts() 535 auto &attachment_ref = subpass.pColorAttachments[k]; in VerifyFramebufferAndRenderPassLayouts() local 536 if (attachment_ref.attachment != VK_ATTACHMENT_UNUSED) { in VerifyFramebufferAndRenderPassLayouts() 537 auto image_view = framebufferInfo.pAttachments[attachment_ref.attachment]; in VerifyFramebufferAndRenderPassLayouts() 542 …RenderPassLayoutAgainstFramebufferImageUsage(device_data, rp_version, attachment_ref.layout, image, in VerifyFramebufferAndRenderPassLayouts() 544 … attachment_ref.attachment, "color attachment layout"); in VerifyFramebufferAndRenderPassLayouts() [all …]
|
D | core_validation.cpp | 9584 auto const &attachment_ref = subpass.pInputAttachments[j]; in ValidateRenderpassAttachmentUsage() local 9585 if (attachment_ref.attachment != VK_ATTACHMENT_UNUSED) { in ValidateRenderpassAttachmentUsage() 9587 …ValidateAttachmentIndex(dev_data, rp_version, attachment_ref.attachment, pCreateInfo->attachmentCo… in ValidateRenderpassAttachmentUsage() 9589 if (attachment_ref.aspectMask & VK_IMAGE_ASPECT_METADATA_BIT) { in ValidateRenderpassAttachmentUsage() 9598 if (attachment_ref.attachment < pCreateInfo->attachmentCount) { in ValidateRenderpassAttachmentUsage() 9600 … attachment_ref.attachment, ATTACHMENT_INPUT, attachment_ref.layout); in ValidateRenderpassAttachmentUsage() 9604 … pCreateInfo->pAttachments[attachment_ref.attachment].format, in ValidateRenderpassAttachmentUsage() 9605 attachment_ref.aspectMask, function_name, vuid); in ValidateRenderpassAttachmentUsage() 9614 if (attachment_ref.aspectMask == 0) { in ValidateRenderpassAttachmentUsage() 9625 if (attachment_ref.aspectMask & ~valid_bits) { in ValidateRenderpassAttachmentUsage() [all …]
|