vulkan: Allow destroying NULL debug report callbacks
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 21 Apr 2020 16:29:21 +0000 (11:29 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 4 May 2020 14:06:27 +0000 (14:06 +0000)
commit9d10bde5a878aac440ea34dfb304812cd00b231c
treec56f053a12c34bcd183afabac0c4e430d8eff805
parent46b3cb011fd1c9198aeec33d453206846b579817
vulkan: Allow destroying NULL debug report callbacks

Fixes: 086cfa5652 "anv: implementation of VK_EXT_debug_report extension"
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Kristian H. Kristensen <hoegsberg@google.com>
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4690>
src/vulkan/util/vk_debug_report.c