radv: fix external handle type queries for dmabuf/fd
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 29 Sep 2023 13:15:31 +0000 (09:15 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 29 Sep 2023 18:57:13 +0000 (18:57 +0000)
commita524f6b5d4fb04716a4d3c0e0f9014175e633595
tree48f19e65594784e2dab7898ce463d7d93ca04419
parent6518d09601f6ab002defbcb5908d62f226d8f3cd
radv: fix external handle type queries for dmabuf/fd

the intent of the VkExternalMemoryProperties API is that all compatible
handle types are returned, not just the type being queried. these two
types are compatible, so return both when both are supported

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25474>
src/amd/vulkan/radv_formats.c