diff options
author | Jason Ekstrand <[email protected]> | 2017-01-20 17:46:21 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-01-24 12:27:48 -0800 |
commit | 8a8630486b69b3ad306763ca14eda5f63bbf9cc6 (patch) | |
tree | a3eb043f7e2d019ea0d68fd307853c56125fe60e | |
parent | 5edcc96bf642eb6a3294066e701acf5bf6a7c1d8 (diff) |
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 <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
-rw-r--r-- | src/intel/vulkan/anv_cmd_buffer.c | 8 |
1 files changed, 8 insertions, 0 deletions
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. */ |