Fix defect reported by Coverity Scan CID-1494382.
Missing unlock (LOCK): Returning without unlocking queue->submit.mutex.
Fixes:
9bffd81f1cb7c ("vulkan: Add common implementations of vkQueueSubmit and vkQueueWaitIdle")
Signed-off-by: Sergii Melikhov <sergii.v.melikhov@globallogic.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13933>
cnd_broadcast(&queue->submit.pop);
}
+ mtx_unlock(&queue->submit.mutex);
return 0;
}