vulkan/runtime: allow null/empty debug names
VkDebugUtilsObjectNameInfoEXT::pObjectName can be NULL [1] : "Applications may change the name associated with an object simply by calling vkSetDebugUtilsObjectNameEXT again with a new string. If pObjectName is either NULL or an empty string, then any previously set name is removed." The current code will segfault. [1] : https://registry.khronos.org/vulkan/specs/1.3-extensions/html/chap50.html#VkDebugUtilsObjectNameInfoEXT Signed-off-by:Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: 3b361b23 ("vulkan: Implement VK_EXT_debug_utils") Reviewed-by:
Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <mesa/mesa!30516> (cherry picked from commit ae9a249d)