radv: fix destroying DGC pipelines

They weren't destroyed at all.

Fixes: 9f8684359f ("radv: implement VK_EXT_device_generated_commands")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32816>
This commit is contained in:
Samuel Pitoiset 2024-12-31 09:37:58 +01:00 committed by Marge Bot
parent 09b8ed4dd4
commit 58c5766199

View file

@ -3161,7 +3161,7 @@ radv_DestroyIndirectCommandsLayoutEXT(VkDevice _device, VkIndirectCommandsLayout
if (!layout)
return;
vk_indirect_command_layout_destroy(&device->vk, pAllocator, &layout->vk);
radv_destroy_indirect_commands_layout(device, pAllocator, layout);
}
static void