Lines Matching refs:attachments
76 * pass->attachments[i].usage = 0;
77 * pass->attachments[i].first_subpass_layout = VK_IMAGE_LAYOUT_UNDEFINED;
98 struct anv_subpass_attachment *subpass_att = &subpass->attachments[j];
103 &pass->attachments[subpass_att->attachment];
125 /* We have to handle resolve attachments specially */
140 &pass->attachments[color_att->attachment];
156 &pass->attachments[ds_att->attachment];
164 assert(__builtin_popcount(subpass->attachments[j].usage) == 1);
209 * We could implement this by walking over all of the attachments and
220 * both color and depth/stencil attachments. That is, they are
226 * Therefore, the above flags concerning color attachments also apply to
227 * color and depth/stencil resolve attachments.
336 VK_MULTIALLOC_DECL(&ma, struct anv_render_pass_attachment, attachments,
358 pass->attachments = attachments;
362 pass->attachments[i] = (struct anv_render_pass_attachment) {
385 subpass->attachments = subpass_attachments;