summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_allocator.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-07-31 10:30:57 -0700
committerJason Ekstrand <[email protected]>2015-07-31 10:38:28 -0700
commit1920ef9675b5ebdab2050b1f37c6cfdd6d9c6f69 (patch)
tree60ca92648b4ae5510d2ac397e553b30b8c42dc1b /src/vulkan/anv_allocator.c
parent930598ad567155a7c35e7c5758844253232015a1 (diff)
vk/allocator: Add an anv_state_pool_finish function
Currently this is a no-op but it gives us a place to put finalization things in the future.
Diffstat (limited to 'src/vulkan/anv_allocator.c')
-rw-r--r--src/vulkan/anv_allocator.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vulkan/anv_allocator.c b/src/vulkan/anv_allocator.c
index d85b919154d..463660f12c0 100644
--- a/src/vulkan/anv_allocator.c
+++ b/src/vulkan/anv_allocator.c
@@ -456,6 +456,11 @@ anv_state_pool_init(struct anv_state_pool *pool,
}
}
+void
+anv_state_pool_finish(struct anv_state_pool *pool)
+{
+}
+
struct anv_state
anv_state_pool_alloc(struct anv_state_pool *pool, size_t size, size_t align)
{