tu,vulkan: Add common Get*OpaqueCaptureDescriptorDataEXT
authorAlyssa Rosenzweig <alyssa@collabora.com>
Fri, 10 Feb 2023 00:16:22 +0000 (19:16 -0500)
committerMarge Bot <emma+marge@anholt.net>
Mon, 13 Feb 2023 07:43:11 +0000 (07:43 +0000)
commit2854dca89836ac0d4f2cf40cb2b0ac393e17ac0d
tree3133aebc3e8c69bd575a97f6b2a5f53170e76d62
parent235e5806b3654f73b368e4357d4da86514de8e43
tu,vulkan: Add common Get*OpaqueCaptureDescriptorDataEXT

In both tu and radv, these are all trivial. Move the trivial implementation from
tu to common code to deduplicate the boilerplate.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by; Samuel Pitoiset <samuel.pitoiset@gmail.com>

Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21230>
src/freedreno/vulkan/tu_descriptor_set.c
src/vulkan/runtime/vk_descriptors.c