radv: add few helpers to deal with pipeline layout
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 11 Apr 2022 10:13:13 +0000 (12:13 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 12 Apr 2022 06:31:33 +0000 (06:31 +0000)
commit619e6d44eb25423cce64dfdea08b8cbf67c79253
treef17a8e00f80def4016183388e6e6d2b13dc84515
parentc338bd2957b49529f86597b0b318725cdd2a5d2b
radv: add few helpers to deal with pipeline layout

With VK_EXT_graphics_pipeline_library, we will have to support
independent sets and also to merge sets from different libraries.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15849>
src/amd/vulkan/radv_descriptor_set.c
src/amd/vulkan/radv_descriptor_set.h