Home | History | Annotate | Download | only in core_validation

Lines Matching refs:pDepthStencilAttachment

2150         if (!attachment_references_compatible(0, primaryRPCI->pSubpasses[spIndex].pDepthStencilAttachment,
2152 secondaryRPCI->pSubpasses[spIndex].pDepthStencilAttachment,
2726 if ((subpass_desc->pDepthStencilAttachment != NULL) &&
2727 (subpass_desc->pDepthStencilAttachment->attachment != VK_ATTACHMENT_UNUSED)) {
2729 render_pass_info->pAttachments[subpass_desc->pDepthStencilAttachment->attachment].samples;
2736 if (((subpass_desc->colorAttachmentCount > 0) || (subpass_desc->pDepthStencilAttachment != NULL)) &&
7305 if (!pSD->pDepthStencilAttachment || // Says no DS will be used in active subpass
7306 (pSD->pDepthStencilAttachment->attachment ==
7315 (pSD->pDepthStencilAttachment) ? pSD->pDepthStencilAttachment->attachment : VK_ATTACHMENT_UNUSED,
8270 if (subpass.pDepthStencilAttachment && subpass.pDepthStencilAttachment->attachment != VK_ATTACHMENT_UNUSED) {
8271 if (attachment == subpass.pDepthStencilAttachment->attachment)
8391 if (subpass.pDepthStencilAttachment && subpass.pDepthStencilAttachment->attachment != VK_ATTACHMENT_UNUSED) {
8392 uint32_t attachment = subpass.pDepthStencilAttachment->attachment;
8421 if (subpass.pDepthStencilAttachment && subpass.pDepthStencilAttachment->attachment != VK_ATTACHMENT_UNUSED) {
8422 const uint32_t &attachment = subpass.pDepthStencilAttachment->attachment;
8499 if ((subpass.pDepthStencilAttachment != NULL) && (subpass.pDepthStencilAttachment->attachment != VK_ATTACHMENT_UNUSED)) {
8500 if (subpass.pDepthStencilAttachment->layout != VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL) {
8501 if (subpass.pDepthStencilAttachment->layout == VK_IMAGE_LAYOUT_GENERAL) {
8511 string_VkImageLayout(subpass.pDepthStencilAttachment->layout));
8514 auto attach_index = subpass.pDepthStencilAttachment->attachment;
8515 skip |= ValidateLayoutVsAttachmentDescription(my_data->report_data, subpass.pDepthStencilAttachment->layout,
8623 ((subpass->pDepthStencilAttachment) ? 1 : 0) + subpass->preserveAttachmentCount;
8640 if (subpass->pDepthStencilAttachment) {
8641 memcpy(attachments, subpass->pDepthStencilAttachment, sizeof(attachments[0]) * 1);
8642 subpass->pDepthStencilAttachment = attachments;
8715 if (subpass.pDepthStencilAttachment && subpass.pDepthStencilAttachment->attachment != VK_ATTACHMENT_UNUSED) {
8716 uint32_t attachment = subpass.pDepthStencilAttachment->attachment;
8727 attachment_first_layout.insert(std::make_pair(attachment, subpass.pDepthStencilAttachment->layout));
8845 if ((subpass.pDepthStencilAttachment != NULL) && (subpass.pDepthStencilAttachment->attachment != VK_ATTACHMENT_UNUSED)) {
8846 const VkImageView &image_view = framebufferInfo.pAttachments[subpass.pDepthStencilAttachment->attachment];
8847 SetLayout(dev_data, pCB, image_view, subpass.pDepthStencilAttachment->layout);
9115 if (primary_desc.pDepthStencilAttachment) {
9116 primary_depthstencil_attach = primary_desc.pDepthStencilAttachment[0].attachment;
9118 if (secondary_desc.pDepthStencilAttachment) {
9119 secondary_depthstencil_attach = secondary_desc.pDepthStencilAttachment[0].attachment;