mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
anv: Add trivial support for TrimCommandPoolKHR
Our command buffers already efficiently use a global pool so trimming doesn't really need to do anything. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
parent
5edcc96bf6
commit
8a8630486b
1 changed files with 8 additions and 0 deletions
|
|
@ -787,6 +787,14 @@ VkResult anv_ResetCommandPool(
|
|||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
void anv_TrimCommandPoolKHR(
|
||||
VkDevice device,
|
||||
VkCommandPool commandPool,
|
||||
VkCommandPoolTrimFlagsKHR flags)
|
||||
{
|
||||
/* Nothing for us to do here. Our pools stay pretty tidy. */
|
||||
}
|
||||
|
||||
/**
|
||||
* Return NULL if the current subpass has no depthstencil attachment.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue