vulkan/debug_utils: copy debug util labels
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 12 Jan 2023 12:09:14 +0000 (14:09 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 13 Jan 2023 01:22:15 +0000 (01:22 +0000)
commit662e05c9fb27bc9ce9959844a70dbf9bea729d44
treede3fe0c68f6b77d568a110ab5b73925b22b4553c
parenta34fcaf326f871e5136030aa23e2cf81d85b587b
vulkan/debug_utils: copy debug util labels

The copied structures currently can point to freed memory.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16655>
src/vulkan/runtime/vk_debug_utils.c