Lines Matching refs:pass
209 v3dv_DestroyRenderPass(_device, p->pass, alloc);
439 struct v3dv_render_pass *pass,
545 .renderPass = v3dv_render_pass_to_handle(pass),
565 struct v3dv_render_pass *pass,
593 assert(subpass_idx < pass->subpass_count);
594 const uint32_t color_count = pass->subpasses[subpass_idx].color_count;
613 pass, subpass_idx,
626 struct v3dv_render_pass *pass,
662 assert(subpass_idx < pass->subpass_count);
667 .attachmentCount = pass->subpasses[subpass_idx].color_count,
672 pass, subpass_idx,
687 VkRenderPass *pass)
728 &info, &device->vk.alloc, pass);
794 struct v3dv_render_pass *pass,
808 /* If pass != NULL it means that we are emitting the clear as a draw call
809 * in the current pass bound by the application. In that case, we can't
810 * cache the pipeline, since it will be referencing that pass and the
815 * FIXME: alternatively, we could refcount (or maybe clone) the render pass
821 const bool can_cache_pipeline = (pass == NULL);
845 if (!pass) {
850 &(*pipeline)->pass);
854 pass = v3dv_render_pass_from_handle((*pipeline)->pass);
856 (*pipeline)->pass = v3dv_render_pass_to_handle(pass);
860 pass,
890 v3dv_DestroyRenderPass(_device, (*pipeline)->pass, &device->vk.alloc);
903 struct v3dv_render_pass *pass,
909 assert(subpass_idx < pass->subpass_count);
911 assert(attachment_idx < pass->attachment_count);
915 const uint32_t samples = pass->attachments[attachment_idx].desc.samples;
916 const VkFormat format = pass->attachments[attachment_idx].desc.format;
940 pass,
973 struct v3dv_render_pass *pass,
989 assert(attachment_idx < cmd_buffer->state.pass->attachment_count);
991 cmd_buffer->state.pass->attachments[attachment_idx].desc.format;
993 cmd_buffer->state.pass->attachments[attachment_idx].desc.samples;
1000 pass,
1059 * render pass currently bound by the application, which means that we need
1075 struct v3dv_render_pass *pass,
1090 assert(attachment_idx < cmd_buffer->state.pass->attachment_count);
1094 pass,
1195 struct v3dv_render_pass *pass = cmd_buffer->state.pass;
1197 assert(cmd_buffer->state.subpass_idx < pass->subpass_count);
1199 &cmd_buffer->state.pass->subpasses[cmd_buffer->state.subpass_idx];
1209 emit_subpass_color_clear_rects(cmd_buffer, pass, subpass,
1215 emit_subpass_ds_clear_rects(cmd_buffer, pass, subpass,