This allows the driver to register private Vulkan objects it creates as part of command buffer recording (usually for meta operations) in the command buffer, so they can be destroyed together with it.
bfadd70d6c2 v3dv: add framework for private driver objects
src/broadcom/vulkan/v3dv_cmd_buffer.c | 37 +++++++++++++++++++++++++++++++++++
src/broadcom/vulkan/v3dv_private.h | 19 ++++++++++++++++++
2 files changed, 56 insertions(+)