mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 22:00:13 +01:00
v3dv: assert command buffers are executable when submitting to a queue
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
parent
8e4cf16da9
commit
ca86c7c65a
1 changed files with 1 additions and 0 deletions
|
|
@ -693,6 +693,7 @@ queue_submit_cmd_buffer(struct v3dv_queue *queue,
|
||||||
pthread_t *wait_thread)
|
pthread_t *wait_thread)
|
||||||
{
|
{
|
||||||
assert(cmd_buffer);
|
assert(cmd_buffer);
|
||||||
|
assert(cmd_buffer->status = V3DV_CMD_BUFFER_STATUS_EXECUTABLE);
|
||||||
|
|
||||||
if (list_is_empty(&cmd_buffer->submit_jobs))
|
if (list_is_empty(&cmd_buffer->submit_jobs))
|
||||||
return queue_submit_noop_job(queue, pSubmit);
|
return queue_submit_noop_job(queue, pSubmit);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue