summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-01-20 17:46:21 -0800
committerJason Ekstrand <[email protected]>2017-01-24 12:27:48 -0800
commit8a8630486b69b3ad306763ca14eda5f63bbf9cc6 (patch)
treea3eb043f7e2d019ea0d68fd307853c56125fe60e /src/intel
parent5edcc96bf642eb6a3294066e701acf5bf6a7c1d8 (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]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/vulkan/anv_cmd_buffer.c8
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.
*/