mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
v3dv: reset pending cpu job state once processed
If we have any pending jobs queued in the command buffer state to be emitted at the end of a given job, make sure we reset that state once these have been processed. cc: mesa-table Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19770>
This commit is contained in:
parent
7906361787
commit
cc9db4eac2
1 changed files with 1 additions and 0 deletions
|
|
@ -582,6 +582,7 @@ cmd_buffer_add_cpu_jobs_for_pending_state(struct v3dv_cmd_buffer *cmd_buffer)
|
|||
job->cpu.query_end = state->query.end.states[i];
|
||||
list_addtail(&job->list_link, &cmd_buffer->jobs);
|
||||
}
|
||||
state->query.end.used_count = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue