Lines Matching defs:primary

791     * have to wait until vkCmdExecuteCommands is called from a primary command
1601 cmd_buffer_copy_secondary_end_query_state(struct v3dv_cmd_buffer *primary,
1604 struct v3dv_cmd_buffer_state *p_state = &primary->state;
1609 v3dv_cmd_buffer_ensure_array_state(primary,
1614 v3dv_return_if_oom(primary, NULL);
1629 v3dX(cmd_buffer_execute_inside_pass)(struct v3dv_cmd_buffer *primary,
1633 assert(primary->state.job);
1639 primary->state.dirty & V3DV_CMD_DIRTY_OCCLUSION_QUERY;
1641 v3dX(cmd_buffer_emit_occlusion_query)(primary);
1643 /* FIXME: if our primary job tiling doesn't enable MSSA but any of the
1644 * pipelines used by the secondaries do, we need to re-start the primary
1657 /* If the job is a CL, then we branch to it from the primary BCL.
1659 * RETURN_FROM_SUB_LIST command to return back to the primary BCL
1672 * to apply), then we can't just branch to it from the primary, we
1673 * need to split the primary to create a new job that can consume
1677 * the RETURN_FROM_SUB_LIST into the primary job to skip the
1680 struct v3dv_job *primary_job = primary->state.job;
1689 cmd_buffer_subpass_split_for_barrier(primary,
1691 v3dv_return_if_oom(primary, NULL);
1693 /* Since we have created a new primary we need to re-emit
1697 v3dX(cmd_buffer_emit_occlusion_query)(primary);
1700 /* Make sure our primary job has all required BO references */
1713 v3dv_return_if_oom(primary, NULL);
1722 * primary job (if any) and then add the secondary job to the
1723 * primary's job list right after it.
1725 v3dv_cmd_buffer_finish_job(primary);
1726 v3dv_job_clone_in_cmd_buffer(secondary_job, primary);
1745 * copy this state to the primary so it is processed properly when the
1746 * current primary job is finished.
1748 cmd_buffer_copy_secondary_end_query_state(primary, secondary);
1751 * barrier state consumed with whatever comes next in the primary.
1761 v3dv_cmd_buffer_merge_barrier_state(&primary->state.barrier,