v3dv: flag tmu_dirty_rcl in primaries when linking secondaries that have it set

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
Iago Toral Quiroga
2020-09-23 12:38:27 +02:00
committed by Marge Bot
parent 30534fcb29
commit 6fb45a04ab

View File

@@ -2555,6 +2555,7 @@ cmd_buffer_execute_inside_pass(struct v3dv_cmd_buffer *primary,
*/
primary_job->serialize |= secondary_job->serialize;
primary_job->needs_bcl_sync |= secondary_job->needs_bcl_sync;
primary_job->tmu_dirty_rcl |= secondary_job->tmu_dirty_rcl;
} else if (secondary_job->type == V3DV_JOB_TYPE_CPU_CLEAR_ATTACHMENTS) {
const struct v3dv_clear_attachments_cpu_job_info *info =
&secondary_job->cpu.clear_attachments;