From 53c6dc504b03a8bab80538d008861a7f14e3592e Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Wed, 28 Oct 2020 10:44:03 +0100 Subject: [PATCH] v3dv: implement vkTrimCommandPool MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Alejandro PiƱeiro Part-of: --- src/broadcom/vulkan/v3dv_cmd_buffer.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/broadcom/vulkan/v3dv_cmd_buffer.c b/src/broadcom/vulkan/v3dv_cmd_buffer.c index 2f07eadfb6e..61a3b5c1406 100644 --- a/src/broadcom/vulkan/v3dv_cmd_buffer.c +++ b/src/broadcom/vulkan/v3dv_cmd_buffer.c @@ -957,6 +957,17 @@ v3dv_DestroyCommandPool(VkDevice _device, vk_free2(&device->alloc, pAllocator, pool); } +void +v3dv_TrimCommandPool(VkDevice device, + VkCommandPool commandPool, + VkCommandPoolTrimFlags flags) +{ + /* We don't need to do anything here, our command pools never hold on to + * any resources from command buffers that are freed or reset. + */ +} + + static void cmd_buffer_subpass_handle_pending_resolves(struct v3dv_cmd_buffer *cmd_buffer) {