summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-03-18 11:50:53 -0700
committerJason Ekstrand <[email protected]>2016-03-18 11:50:53 -0700
commitb1c5d45872c4c156b1366071c8532a0057a70745 (patch)
treefd1b2f28a4ceec309a162294d2c3bd5bcea102be /src/intel/vulkan/anv_private.h
parent3fd308a357b9057447d21c67718d13524dbbb40d (diff)
anv/allocator: Add a size field to bo_pool_alloc
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 939cd087377..46e377c0490 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -476,7 +476,8 @@ struct anv_bo_pool {
void anv_bo_pool_init(struct anv_bo_pool *pool,
struct anv_device *device, uint32_t block_size);
void anv_bo_pool_finish(struct anv_bo_pool *pool);
-VkResult anv_bo_pool_alloc(struct anv_bo_pool *pool, struct anv_bo *bo);
+VkResult anv_bo_pool_alloc(struct anv_bo_pool *pool, struct anv_bo *bo,
+ uint32_t size);
void anv_bo_pool_free(struct anv_bo_pool *pool, const struct anv_bo *bo);