Lines Matching defs:pass

208       &cmd->state.pass->attachments[a];
276 tu_cs_emit(cs, tu_attachment_gmem_offset(cmd, &cmd->state.pass->attachments[a]));
351 /* doesn't RB_RENDER_CNTL set differently for binning pass: */
478 * pass z test. Relevant tests:
582 if (!cmd->state.pass->gmem_pixels[cmd->state.gmem_layout])
751 for (uint32_t i = 0; i < cmd->state.pass->attachment_count; ++i)
758 const struct tu_render_pass *pass = cmd->state.pass;
759 const struct tu_subpass *subpass = &pass->subpasses[pass->subpass_count-1];
769 for (uint32_t a = 0; a < pass->attachment_count; ++a) {
770 if (pass->attachments[a].gmem)
1048 /* switching from binning pass to GMEM pass will cause a switch from
1052 * only VS and GS are invalidated, as FS isn't emitted in binning pass,
1123 &cmd->state.pass->attachments[a];
1247 for (uint32_t i = 0; i < cmd->state.pass->attachment_count; ++i)
1254 for (uint32_t i = 0; i < cmd->state.pass->attachment_count; ++i)
1491 /* Reset the gmem store CS entry lists so that the next render pass
1543 cmd_buffer->state.pass = NULL;
1847 cmd_buffer->state.pass = &cmd_buffer->dynamic_pass;
1850 cmd_buffer->state.pass = tu_render_pass_from_handle(pBeginInfo->pInheritanceInfo->renderPass);
1852 &cmd_buffer->state.pass->subpasses[pBeginInfo->pInheritanceInfo->subpass];
1855 /* We can't set the gmem layout here, because the state.pass only has
2375 if (cmd_buffer->state.pass) {
3412 cmd->state.pass = suspended->state.suspended_pass.pass;
3490 /* Take the current render pass state and save it to "pre_chain" to be
3518 if (cmd->state.pass) {
3612 * earlier in this primary. Since the last render pass in
3614 * of a render pass. Fix that here by reusing the dynamic
3615 * render pass that was setup for the last suspended render
3616 * pass before the secondary.
3627 unreachable("resuming render pass is not preceded by suspending one");
3654 unreachable("suspending render pass is followed by a not resuming one");
3664 if (!cmd->state.lrz.gpu_dir_tracking && cmd->state.pass) {
3676 if (cmd->state.pass) {
3834 TU_FROM_HANDLE(tu_render_pass, pass, pRenderPassBegin->renderPass);
3841 cmd->state.pass = pass;
3842 cmd->state.subpass = pass->subpasses;
3847 vk_alloc(&cmd->pool->vk.alloc, pass->attachment_count *
3856 for (unsigned i = 0; i < pass->attachment_count; i++) {
3869 tu_subpass_barrier(cmd, &pass->subpasses[0].start_barrier, true);
3874 if (pass->subpasses[0].feedback_invalidate)
3895 cmd->state.pass = &cmd->dynamic_pass;
3992 cmd->state.suspended_pass.pass = cmd->state.pass;
4025 unreachable("suspending render pass not followed by resuming pass");
4047 const struct tu_render_pass *pass = cmd->state.pass;
4077 if (!pass->attachments[a].gmem)
5173 tu_subpass_barrier(cmd_buffer, &cmd_buffer->state.pass->end_barrier, true);
5214 unreachable("suspending render pass not followed by resuming pass");
5232 !cmd->state.pass;
5285 if (cmd->state.pass) {
5302 * a render pass instance must be a subset of the scopes of one of
5319 cmd->state.pass ? &cmd->state.renderpass_cache : &cmd->state.cache;
5342 /* vkCmdSetEvent/vkCmdResetEvent cannot be called inside a render pass */
5343 assert(!cmd->state.pass);
5404 struct tu_cs *cs = cmd->state.pass ? &cmd->draw_cs : &cmd->cs;
5436 struct tu_cs *cs = cmd->state.pass ? &cmd->draw_cs : &cmd->cs;
5442 if (cmd->state.pass)
5477 struct tu_cs *cs = cmd->state.pass ? &cmd->draw_cs : &cmd->cs;
5496 struct tu_cs *cs = cmd->state.pass ? &cmd->draw_cs : &cmd->cs;
5498 cmd->state.pass ? &cmd->state.renderpass_cache : &cmd->state.cache;
5532 if (cmd->state.pass) {