venus: fix empty submits with BOs
authorChia-I Wu <olvaffe@gmail.com>
Thu, 8 Jul 2021 21:08:55 +0000 (14:08 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 8 Jul 2021 21:51:23 +0000 (21:51 +0000)
commitd0fa4933b78974d737c5e8abd0c4a64aeb7b93f3
tree3feeea64d35483c0c3ee754f8b0587d17e51c55a
parent80c45928b41ba1eef8741ac984fc79c0d68957c1
venus: fix empty submits with BOs

Empty submits with BOs (!batch_count && bo_count) were incorrectly
skipped.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11791>
src/virtio/vulkan/vn_renderer_virtgpu.c