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>
(cherry picked from commit 58c5766199)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32852>
This commit is contained in:
Samuel Pitoiset
2024-12-31 09:37:58 +01:00
committed by Dylan Baker
parent 2cbe3468a3
commit f688dfe665
2 changed files with 2 additions and 2 deletions

View File

@@ -254,7 +254,7 @@
"description": "radv: fix destroying DGC pipelines",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "9f8684359fa988fb5a04c97cb3fdbdc1951fcc30",
"notes": null

View File

@@ -3172,7 +3172,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