vulkan/queue: Rework vk_queue_submit()
authorJason Ekstrand <jason.ekstrand@collabora.com>
Thu, 24 Mar 2022 22:46:11 +0000 (17:46 -0500)
committerMarge Bot <emma+marge@anholt.net>
Wed, 30 Mar 2022 23:17:56 +0000 (23:17 +0000)
commit8e51778acfba4f87b252e869d7fdd254f5199a2e
tree579b486eaec37e94a1656573bb9d9e09b39d22e6
parente0ffdc8ce0b5813940c20f2055477d0d95ba1a1a
vulkan/queue: Rework vk_queue_submit()

Instead of basing everything on the timeline mode, base it on the submit
mode of the queue.  This makes a lot more sense since it's what we
really care about anyway.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15566>
src/vulkan/runtime/vk_device.h
src/vulkan/runtime/vk_queue.c