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:
parent
0dedee7636
commit
53c6dc504b
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue