radv: Only emit what is appropriate to the queue family for preambles.
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 5 May 2022 18:50:11 +0000 (20:50 +0200)
committerTimur Kristóf <timur.kristof@gmail.com>
Tue, 10 May 2022 08:19:34 +0000 (10:19 +0200)
commit380ae300eb8f6b4173724dbe96a9034d33fc316a
tree85f3a542216f99b5f3f42565949787cd0f6a1c10
parent3a523b8338cfb1530c6182cb92695f4bee501c3b
radv: Only emit what is appropriate to the queue family for preambles.

This makes the function easier to read and follow.
Also prepares for some future changes when we'll want to
submit to multiple queues at once.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-By: Tatsuyuki Ishi <ishitatsuyuki@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16358>
src/amd/vulkan/radv_device.c