v3dv: implement vkTrimCommandPool

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7364>
This commit is contained in:
Iago Toral Quiroga 2020-10-28 10:44:03 +01:00
parent 0dedee7636
commit 53c6dc504b
1 changed files with 11 additions and 0 deletions

View File

@ -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)
{