Lines Matching refs:subpass
166 /* Attachment (or view) load operations apply on the first subpass that
172 /* If the job is continuing a subpass started in another job, we always
205 const struct v3dv_subpass *subpass = &pass->subpasses[state->subpass_idx];
209 for (uint32_t i = 0; i < subpass->color_count; i++) {
210 uint32_t attachment_idx = subpass->color_attachments[i].attachment;
221 * any recorded command which accesses the sample in the first subpass
225 * subpass that uses the attachment (and in that case we don't LOAD).
227 * by a previous subpass to the same attachment. We also want to load
228 * if the current job is continuing subpass work started by a previous
252 uint32_t ds_attachment_idx = subpass->ds_attachment.attachment;
377 /* If this is resuming a subpass started with another job, then attachment
389 /* If this job is running in a subpass other than the first subpass in
412 /* Attachment (or view) store operations only apply on the last subpass
420 * last subpass where the attachment is used, otherwise we always need to
437 const struct v3dv_subpass *subpass =
447 uint32_t ds_attachment_idx = subpass->ds_attachment.attachment;
469 /* Only clear once on the first subpass that uses the attachment */
479 subpass->do_depth_clear_with_draw);
486 subpass->do_stencil_clear_with_draw);
510 assert(subpass->resolve_depth || subpass->resolve_stencil);
512 subpass->ds_resolve_attachment.attachment;
516 v3dv_zs_buffer(subpass->resolve_depth, subpass->resolve_stencil);
526 needs_depth_store = subpass->resolve_depth;
527 needs_stencil_store = subpass->resolve_stencil;
564 for (uint32_t i = 0; i < subpass->color_count; i++) {
565 uint32_t attachment_idx = subpass->color_attachments[i].attachment;
577 /* Only clear once on the first subpass that uses the attachment */
617 subpass->resolve_attachments[i].attachment;
810 const struct v3dv_subpass *subpass = &pass->subpasses[state->subpass_idx];
818 const uint32_t ds_attachment_idx = subpass->ds_attachment.attachment;
823 config.number_of_render_targets = MAX2(subpass->color_count, 1);
858 subpass->do_depth_clear_with_draw);
865 subpass->resolve_depth;
881 subpass->resolve_stencil;
898 for (uint32_t i = 0; i < subpass->color_count; i++) {
899 uint32_t attachment_idx = subpass->color_attachments[i].attachment;
1037 if (subpass->view_mask == 0 || (subpass->view_mask & (1u << layer)))
1442 struct v3dv_subpass *subpass = &state->pass->subpasses[state->subpass_idx];
1443 if (subpass->ds_attachment.attachment == VK_ATTACHMENT_UNUSED) {
1455 &state->pass->attachments[subpass->ds_attachment.attachment];
2317 const struct v3dv_subpass *subpass =
2320 if (rt >= subpass->color_count)
2323 struct v3dv_subpass_attachment *attachment = &subpass->color_attachments[rt];