summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2017-01-17 14:30:19 +0000
committerLionel Landwerlin <[email protected]>2017-03-02 10:34:06 +0000
commitc2d199adec4d58f2c6af0d216d88ed13b95df3f4 (patch)
tree67765d593837df7c875eab83f3a59e04d06c0ad9 /src/intel/vulkan/anv_private.h
parentc83e33e6ee9f88fcc077e776020f81d84e5ae759 (diff)
anv: make layout size computation helper available across compilation units
Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index a5d012773d7..39d633e362f 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -935,6 +935,9 @@ struct anv_descriptor_pool {
char data[0];
};
+size_t
+anv_descriptor_set_layout_size(const struct anv_descriptor_set_layout *layout);
+
VkResult
anv_descriptor_set_create(struct anv_device *device,
struct anv_descriptor_pool *pool,