From: Jason Ekstrand Date: Sat, 21 Jan 2017 01:46:21 +0000 (-0800) Subject: anv: Add trivial support for TrimCommandPoolKHR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8a8630486b69b3ad306763ca14eda5f63bbf9cc6;p=mesa.git 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 Reviewed-by: Lionel Landwerlin --- diff --git a/src/intel/vulkan/anv_cmd_buffer.c b/src/intel/vulkan/anv_cmd_buffer.c index d882c18c608..3a23048c47d 100644 --- a/src/intel/vulkan/anv_cmd_buffer.c +++ b/src/intel/vulkan/anv_cmd_buffer.c @@ -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. */