mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
v3dv: drop unused variable on handle_set_event_cpu_job
is_wait_thread is passed, but not actually used; and cpu_queue_handle_idle is in charge to handle wait threads spawned before this one. Signed-off-by: Melissa Wen <mwen@igalia.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13178>
This commit is contained in:
parent
3b4d4c7d84
commit
09991fc47b
1 changed files with 2 additions and 2 deletions
|
|
@ -226,7 +226,7 @@ handle_copy_query_results_cpu_job(struct v3dv_job *job)
|
|||
}
|
||||
|
||||
static VkResult
|
||||
handle_set_event_cpu_job(struct v3dv_job *job, bool is_wait_thread)
|
||||
handle_set_event_cpu_job(struct v3dv_job *job)
|
||||
{
|
||||
/* From the Vulkan 1.0 spec:
|
||||
*
|
||||
|
|
@ -739,7 +739,7 @@ queue_submit_job(struct v3dv_queue *queue,
|
|||
case V3DV_JOB_TYPE_CPU_COPY_QUERY_RESULTS:
|
||||
return handle_copy_query_results_cpu_job(job);
|
||||
case V3DV_JOB_TYPE_CPU_SET_EVENT:
|
||||
return handle_set_event_cpu_job(job, wait_thread != NULL);
|
||||
return handle_set_event_cpu_job(job);
|
||||
case V3DV_JOB_TYPE_CPU_WAIT_EVENTS:
|
||||
return handle_wait_events_cpu_job(job, do_sem_wait, wait_thread);
|
||||
case V3DV_JOB_TYPE_CPU_COPY_BUFFER_TO_IMAGE:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue