vulkan: Add a base struct for descriptor set layouts
authorJason Ekstrand <jason.ekstrand@collabora.com>
Tue, 28 Jun 2022 15:29:48 +0000 (10:29 -0500)
committerMarge Bot <emma+marge@anholt.net>
Wed, 29 Jun 2022 20:31:57 +0000 (20:31 +0000)
commit949ce92f056f7171399437e5db6da4db64659c60
tree285ca71f8838fc642e8ddfe28c2a590bbaf1e6d0
parentd46db2e5a60bd182324def30437556051d844cdd
vulkan: Add a base struct for descriptor set layouts

There's some tricky stuff in here with properly handling Vulkan
allocation scopes and reference counting.  Probably best to do it once.
Also, this means that common code can now take references to descriptor
set layouts which seems useful.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17286>
src/vulkan/runtime/meson.build
src/vulkan/runtime/vk_descriptor_set_layout.c [new file with mode: 0644]
src/vulkan/runtime/vk_descriptor_set_layout.h [new file with mode: 0644]