dzn: Don't expose copy queues
authorJesse Natalie <jenatali@microsoft.com>
Wed, 24 May 2023 17:54:08 +0000 (10:54 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 25 May 2023 02:08:32 +0000 (02:08 +0000)
commit5a43a5031925d65b99bb93cc9089f3d8cf347e78
tree0f8f70caa0c5b0c956bdeaaad3b1dc8410e64b7e
parentb4852c4efbd3bf71edde97d202927dc8284e78a2
dzn: Don't expose copy queues

Vulkan says you can do things like image resolves or blits on transfer
queues, but D3D only allows literal copies. We could try to emulate
a Vulkan transfer-only queue backed by multiple D3D queues, where we
use the copy queue when possible but fall back to compute when needed,
but let's wait until there's a good reason to do that...

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23218>
src/microsoft/vulkan/dzn_device.c
src/microsoft/vulkan/dzn_private.h