Lines Matching refs:subpass
111 struct panvk_subpass *subpass = &pass->subpasses[i]; in panvk_CreateRenderPass2() local
113 subpass->input_count = desc->inputAttachmentCount; in panvk_CreateRenderPass2()
114 subpass->color_count = desc->colorAttachmentCount; in panvk_CreateRenderPass2()
116 subpass->view_mask = multiview_info->pViewMasks[i]; in panvk_CreateRenderPass2()
119 subpass->input_attachments = p; in panvk_CreateRenderPass2()
123 subpass->input_attachments[j] = (struct panvk_subpass_attachment) { in panvk_CreateRenderPass2()
129 .view_mask |= subpass->view_mask; in panvk_CreateRenderPass2()
134 subpass->color_attachments = p; in panvk_CreateRenderPass2()
140 subpass->color_attachments[j] = (struct panvk_subpass_attachment) { in panvk_CreateRenderPass2()
146 pass->attachments[idx].view_mask |= subpass->view_mask; in panvk_CreateRenderPass2()
150 subpass->color_attachments[j].clear = true; in panvk_CreateRenderPass2()
152 subpass->color_attachments[j].preload = true; in panvk_CreateRenderPass2()
154 subpass->color_attachments[j].preload = true; in panvk_CreateRenderPass2()
161 subpass->resolve_attachments = p; in panvk_CreateRenderPass2()
167 subpass->resolve_attachments[j] = (struct panvk_subpass_attachment) { in panvk_CreateRenderPass2()
173 pass->attachments[idx].view_mask |= subpass->view_mask; in panvk_CreateRenderPass2()
180 subpass->zs_attachment.idx = idx; in panvk_CreateRenderPass2()
182 subpass->zs_attachment.layout = desc->pDepthStencilAttachment->layout; in panvk_CreateRenderPass2()
183 pass->attachments[idx].view_mask |= subpass->view_mask; in panvk_CreateRenderPass2()
188 subpass->zs_attachment.clear = true; in panvk_CreateRenderPass2()
190 subpass->zs_attachment.preload = true; in panvk_CreateRenderPass2()
192 subpass->zs_attachment.preload = true; in panvk_CreateRenderPass2()