Lines Matching refs:subpass
948 const struct anv_subpass *subpass = cmd_buffer->state.subpass; in clear_color_attachment() local
950 const uint32_t att_idx = subpass->color_attachments[color_att].attachment; in clear_color_attachment()
971 if (subpass->view_mask) { in clear_color_attachment()
973 for_each_bit(view_idx, subpass->view_mask) { in clear_color_attachment()
1010 const struct anv_subpass *subpass = cmd_buffer->state.subpass; in clear_depth_stencil_attachment() local
1011 const uint32_t att_idx = subpass->depth_stencil_attachment.attachment; in clear_depth_stencil_attachment()
1039 if (subpass->view_mask) { in clear_depth_stencil_attachment()
1041 for_each_bit(view_idx, subpass->view_mask) { in clear_depth_stencil_attachment()
1119 uint32_t ds = cmd_state->subpass->depth_stencil_attachment.attachment; in subpass_needs_clear()
1121 for (uint32_t i = 0; i < cmd_state->subpass->color_count; ++i) { in subpass_needs_clear()
1122 uint32_t a = cmd_state->subpass->color_attachments[i].attachment; in subpass_needs_clear()
1165 for (uint32_t i = 0; i < cmd_state->subpass->color_count; ++i) { in anv_cmd_buffer_clear_subpass()
1166 const uint32_t a = cmd_state->subpass->color_attachments[i].attachment; in anv_cmd_buffer_clear_subpass()
1232 const uint32_t ds = cmd_state->subpass->depth_stencil_attachment.attachment; in anv_cmd_buffer_clear_subpass()
1516 struct anv_subpass *subpass = cmd_buffer->state.subpass; in anv_cmd_buffer_resolve_subpass() local
1518 if (subpass->has_resolve) { in anv_cmd_buffer_resolve_subpass()
1530 for (uint32_t i = 0; i < subpass->color_count; ++i) { in anv_cmd_buffer_resolve_subpass()
1531 uint32_t src_att = subpass->color_attachments[i].attachment; in anv_cmd_buffer_resolve_subpass()
1532 uint32_t dst_att = subpass->resolve_attachments[i].attachment; in anv_cmd_buffer_resolve_subpass()