Lines Matching defs:ref
182 const VkInputAttachmentAspectReference *ref =
185 assert(ref->subpass < pCreateInfo->subpassCount);
186 VkSubpassDescription2 *subpass = &subpasses[ref->subpass];
188 assert(ref->inputAttachmentIndex < subpass->inputAttachmentCount);
190 &subpass->pInputAttachments[ref->inputAttachmentIndex];
192 att->aspectMask = ref->aspectMask;
353 const VkAttachmentReference2 *ref,
357 if (ref->attachment >= pass->attachment_count) {
358 assert(ref->attachment == VK_ATTACHMENT_UNUSED);
366 &pass->attachments[ref->attachment];
369 .attachment = ref->attachment,
372 .layout = ref->layout,
373 .stencil_layout = vk_att_ref_stencil_layout(ref, attachments),
386 assert(!(ref->aspectMask & ~att->aspects));
387 att->aspects = ref->aspectMask;
654 const VkAttachmentReference2 *ref = &desc->pColorAttachments[a];
655 if (ref->attachment >= pCreateInfo->attachmentCount) {
660 &pCreateInfo->pAttachments[ref->attachment];
676 const VkAttachmentReference2 *ref = desc->pDepthStencilAttachment;
677 if (ref->attachment < pCreateInfo->attachmentCount) {
679 &pCreateInfo->pAttachments[ref->attachment];