diff options
Diffstat (limited to 'src/vulkan/anv_private.h')
-rw-r--r-- | src/vulkan/anv_private.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h index 563d7a573bd..b30dd7d51ad 100644 --- a/src/vulkan/anv_private.h +++ b/src/vulkan/anv_private.h @@ -253,6 +253,12 @@ struct anv_block_pool { union anv_free_list free_list; }; +static inline uint32_t +anv_block_pool_size(struct anv_block_pool *pool) +{ + return pool->size; +} + struct anv_block_state { union { struct { |