Lines Matching defs:attachment

2456          a = subpass->color_attachments[c].attachment;
2464 a = subpass->depth_stencil_attachment.attachment;
2489 * input attachment states, because a secondary command buffer
2709 uint32_t attachment,
2714 &cmd->state.pass->attachments[attachment];
2759 a = subpass->color_attachments[attachments[j].colorAttachment].attachment;
2761 a = subpass->depth_stencil_attachment.attachment;
2797 * attachment state.
2816 a = subpass->color_attachments[c].attachment;
2818 a = subpass->depth_stencil_attachment.attachment;
2890 const struct tu_render_pass_attachment *attachment =
2893 if (!attachment->clear_mask)
2896 if (attachment->format == VK_FORMAT_D32_SFLOAT_S8_UINT) {
2897 if (attachment->clear_mask & VK_IMAGE_ASPECT_DEPTH_BIT) {
2901 if (attachment->clear_mask & VK_IMAGE_ASPECT_STENCIL_BIT) {
2906 clear_sysmem_attachment(cmd, cs, attachment->format, attachment->clear_mask,
2919 if (vk_format_is_depth_or_stencil(attachment->format)) {
2938 const struct tu_render_pass_attachment *attachment =
2941 if (!attachment->clear_mask)
2944 tu_cs_emit_regs(cs, A6XX_RB_MSAA_CNTL(tu_msaa_samples(attachment->samples)));
2946 tu_emit_clear_gmem_attachment(cmd, cs, a, attachment->clear_mask, value);
2953 const struct tu_render_pass_attachment *attachment,
2958 A6XX_RB_MSAA_CNTL(tu_msaa_samples(attachment->samples)));
2963 .sample_0 = vk_format_is_int(attachment->format) ||
2964 vk_format_is_depth_or_stencil(attachment->format)));
2988 if (attachment->format == VK_FORMAT_D32_SFLOAT_S8_UINT && separate_stencil) {
2990 A6XX_RB_BLIT_BASE_GMEM(tu_attachment_gmem_offset_stencil(cmd, attachment)));
2993 A6XX_RB_BLIT_BASE_GMEM(tu_attachment_gmem_offset(cmd, attachment)));
3088 const struct tu_render_pass_attachment *attachment =
3091 bool load_common = attachment->load || force_load;
3093 attachment->load_stencil ||
3094 (attachment->format == VK_FORMAT_D32_SFLOAT_S8_UINT && force_load);
3101 /* If attachment will be cleared by vkCmdClearAttachments - it is likely
3108 bool cond_exec = cond_exec_allowed && attachment->cond_load_allowed;
3113 tu_emit_blit(cmd, cs, iview, attachment, false, false);
3116 tu_emit_blit(cmd, cs, iview, attachment, false, true);
3121 trace_end_gmem_load(&cmd->trace, cs, attachment->format, force_load);
3322 /* Unconditional store should happen only if attachment was cleared,