radv: destroy the base object if VkCreateRenderPass*() failed
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 10 Jul 2020 14:04:26 +0000 (16:04 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 15 Jul 2020 11:53:21 +0000 (13:53 +0200)
commit2e5968023f7ffb44524958cf40ef8665b70af681
treefe293ca428d5266b3e1edcc63f785c5c68f0a26d
parent0eec81d01928636665c818f2635bad06c4d4bf4f
radv: destroy the base object if VkCreateRenderPass*() failed

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5868>
src/amd/vulkan/radv_pass.c