Lines Matching refs:subpass
319 key->nr_color_regions = pipeline->subpass->color_count; in populate_wm_prog_key()
363 _mesa_sha1_update(&ctx, &pipeline->subpass->view_mask, in anv_pipeline_hash_shader()
364 sizeof(pipeline->subpass->view_mask)); in anv_pipeline_hash_shader()
406 NIR_PASS_V(nir, anv_nir_lower_multiview, pipeline->subpass->view_mask); in anv_pipeline_compile()
1074 struct anv_subpass *subpass = pipeline->subpass; in copy_non_dynamic_state() local
1132 for (unsigned i = 0; i < subpass->color_count; ++i) { in copy_non_dynamic_state()
1133 if (subpass->color_attachments[i].attachment != VK_ATTACHMENT_UNUSED) { in copy_non_dynamic_state()
1161 subpass->depth_stencil_attachment.attachment != VK_ATTACHMENT_UNUSED) { in copy_non_dynamic_state()
1201 struct anv_subpass *subpass = NULL; in anv_pipeline_validate_create_info() local
1211 assert(info->subpass < renderpass->subpass_count); in anv_pipeline_validate_create_info()
1212 subpass = &renderpass->subpasses[info->subpass]; in anv_pipeline_validate_create_info()
1222 if (subpass && subpass->depth_stencil_attachment.attachment != VK_ATTACHMENT_UNUSED) in anv_pipeline_validate_create_info()
1225 if (subpass && subpass->color_count > 0) in anv_pipeline_validate_create_info()
1279 assert(pCreateInfo->subpass < render_pass->subpass_count); in anv_pipeline_init()
1280 pipeline->subpass = &render_pass->subpasses[pCreateInfo->subpass]; in anv_pipeline_init()